view runtime/import/ldc/llvmasm.di @ 1588:71ad691baeb2

Hack to make compiling the tango 0.99.8 runtime work. The gc has no module statements and the new frontend fails to find the imports. So I add an explicit include path to the runtime gc directory.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Nov 2009 10:54:40 +0100
parents 9279a9dc6df3
children
line wrap: on
line source

module ldc.llvmasm;

struct __asmtuple_t(T...)
{
    T v;
}

pragma(llvm_inline_asm)
{
    void __asm( )(char[] asmcode, char[] constraints, ...);
    T    __asm(T)(char[] asmcode, char[] constraints, ...);

    template __asmtuple(T...)
    {
        __asmtuple_t!(T) __asmtuple(char[] asmcode, char[] constraints, ...);
    }
}