bugfixes for closures
This commit is contained in:
parent
00feaa2530
commit
7b4560337b
7 changed files with 58 additions and 13 deletions
|
|
@ -184,6 +184,9 @@ elif false: # asmVersion and (defined(gcc) or defined(llvm_gcc)):
|
|||
:"=a"(`result`)
|
||||
:"a"(`a`), "c"(`b`)
|
||||
"""
|
||||
#".intel_syntax noprefix"
|
||||
#/* Intel syntax here */
|
||||
#".att_syntax"
|
||||
|
||||
proc subInt(a, b: int): int {.compilerProc, inline.} =
|
||||
asm """ "subl %%ecx,%%eax\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue