cpu.x86: c-to-factor needs to deal with the fact that vm-reg might have been clobbered

db4
Slava Pestov 2010-01-09 19:09:48 +13:00
parent 39015030a0
commit 5b58117be1
2 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,7 @@ IN: bootstrap.x86
! call the quotation
EAX quot-xt-offset [+] CALL
! save ds, rs registers
jit-load-vm
jit-save-context
] \ c-to-factor define-sub-primitive

View File

@ -74,6 +74,7 @@ IN: bootstrap.x86
ctx-reg context-callstack-bottom-offset [+] safe-reg MOV
! call the quotation
arg1 quot-xt-offset [+] CALL
jit-load-vm
jit-save-context
] \ c-to-factor define-sub-primitive