]> gitweb.factorcode.org Git - factor.git/commitdiff
fix c_to_factor stack alignment
authorPhil Dawes <phil@phildawes.net>
Thu, 24 Sep 2009 19:18:42 +0000 (20:18 +0100)
committerPhil Dawes <phil@phildawes.net>
Thu, 24 Sep 2009 19:18:42 +0000 (20:18 +0100)
vm/cpu-x86.S

index 93c1da6430482b6df2ce2c634d8eee3352ec98b6..e9116f8f65530de5f403a3d4beeb992261b9cc8f 100644 (file)
@@ -48,9 +48,7 @@ DEF(F_FASTCALL void,c_to_factor,(CELL quot, void *vm)):
        
        /* Save stack pointer */
        lea -CELL_SIZE(STACK_REG),ARG0
-       push ARG1  /* save vm ptr */
        call MANGLE(save_callstack_bottom)
-       pop ARG1
        
        /* Call quot-xt */
        mov NV_TEMP_REG,ARG0