Mercurial > projects > ldc
view runtime/import/ldc/llvmasm.di @ 1153:4454126b4345
Added support for single D type register return from __asm.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Sat, 28 Mar 2009 07:24:53 +0100 |
parents | 521dd1626d76 |
children | 9279a9dc6df3 |
line wrap: on
line source
module ldc.llvmasm; pragma(llvm_inline_asm) template __asm() { void __asm(char[] asmcode, char[] constraints, ...); } pragma(llvm_inline_asm) template __asm(T) { T __asm(char[] asmcode, char[] constraints, ...); }