diff tests/mini/asm1.d @ 741:4ac97ec7c18e

Applied easy part from wilsonk's x86-64 patch in #107
author Christian Kamm <kamm incasoftware de>
date Thu, 30 Oct 2008 11:08:34 +0100
parents 1bb99290e03a
children a58784e0f035
line wrap: on
line diff
--- a/tests/mini/asm1.d	Thu Oct 30 10:17:05 2008 +0100
+++ b/tests/mini/asm1.d	Thu Oct 30 11:08:34 2008 +0100
@@ -14,13 +14,13 @@
 	}
 	printf("x = %d\n", x);
     }
-    else version(D_InlineAsm_X86_64)
+    else version(LLVM_InlineAsm_X86_64)
     {
         long x;
         asm
         {
-            mov RAX, 42L;
-            mov x, RAX;
+            movq RAX, 42L;
+            movq x, RAX;
         }
         printf("x = %ld\n", x);
     }