summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-06-21 08:46:56 +0200
committerAraq <rumpf_a@web.de>2012-06-21 08:46:56 +0200
commit7b4560337b3489ba2364fe97066c79d8a23dad87 (patch)
treef05d0a51cd2679272589cbcd529141fb68c02a2a /lib/system
parent00feaa2530b0f3623a488d77603045c327805b05 (diff)
downloadNim-7b4560337b3489ba2364fe97066c79d8a23dad87.tar.gz
bugfixes for closures
Diffstat (limited to 'lib/system')
-rwxr-xr-xlib/system/arithm.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/system/arithm.nim b/lib/system/arithm.nim
index 54407c04e..8f036caa5 100755
--- a/lib/system/arithm.nim
+++ b/lib/system/arithm.nim
@@ -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"