Mercurial > projects > ldc
view runtime/import/ldc/llvmasm.di @ 1582:d8e558087001
Fixed a segfault in ldc2 when compiling synchronized{} blocks.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Sat, 19 Sep 2009 13:05:10 +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, ...); } }