]> gitweb.factorcode.org Git - factor.git/commitdiff
small x86 asm cleanup
authorPhil Dawes <phil@phildawes.net>
Mon, 7 Sep 2009 06:23:29 +0000 (07:23 +0100)
committerPhil Dawes <phil@phildawes.net>
Wed, 16 Sep 2009 07:22:17 +0000 (08:22 +0100)
basis/cpu/x86/32/bootstrap.factor
vm/cpu-x86.32.S

index afa7c245a07adf7c6dad5e5782cb6ff59c7a33e9..e2096987da39073d71f13e5e3f313a0dcda4de58 100644 (file)
@@ -29,7 +29,7 @@ IN: bootstrap.x86
     ! save stack pointer
     temp0 [] stack-reg MOV
     ! pass vm ptr to primitive
-    EAX 0 MOV rc-absolute-cell rt-vm jit-rel
+    arg 0 MOV rc-absolute-cell rt-vm jit-rel
     ! call the primitive
     0 JMP rc-relative rt-primitive jit-rel
 ] jit-primitive jit-define
index a486fed29db4173f9c8ebfec81012134b39fe7ab..042924ca4f5a04bb543255d44c5bb22fd77aa0d3 100644 (file)
@@ -53,7 +53,7 @@ DEF(void,primitive_inline_cache_miss,(void *vm)):
        mov (%esp),%ebx
 DEF(void,primitive_inline_cache_miss_tail,(void *vm)):
        sub $8,%esp
-       push %eax   /* push vm ptr */
+       push ARG0   /* push vm ptr */
        push %ebx
        call MANGLE(inline_cache_miss)
        add $16,%esp