view runtime/import/ldc/llvmasm.di @ 1630:44b145be2ef5

Merge dmd 1.056.
author Robert Clipsham <robert@octarineparrot.com>
date Sat, 06 Feb 2010 15:53:52 +0000
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, ...);
    }
}