mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-26 00:55:21 +02:00
Added support for single D type register return from __asm.
This commit is contained in:
@@ -5,3 +5,9 @@ template __asm()
|
||||
{
|
||||
void __asm(char[] asmcode, char[] constraints, ...);
|
||||
}
|
||||
|
||||
pragma(llvm_inline_asm)
|
||||
template __asm(T)
|
||||
{
|
||||
T __asm(char[] asmcode, char[] constraints, ...);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user