cpu.x86.32.bootstrap: update unwind-native-frames

The arguments passed from C are in a different position now.
db4
Joe Groff 2011-12-19 18:42:14 -08:00
parent f513894435
commit bc3f34cbd7
1 changed files with 4 additions and 2 deletions

View File

@ -102,6 +102,8 @@ IN: bootstrap.x86
[ jit-jump-quot ]
\ (call) define-combinator-primitive
! unwind-native-frames is marked as "special" in vm/quotations.cpp
! so it does not have a standard prolog
[
! Load ds and rs registers
jit-load-vm
@ -115,8 +117,8 @@ IN: bootstrap.x86
ctx-reg jit-update-seh
! Load arguments
EAX ESP stack-frame-size [+] MOV
EDX ESP stack-frame-size 4 + [+] MOV
EAX ESP cell [+] MOV
EDX ESP 2 cells [+] MOV
! Unwind stack frames
ESP EDX MOV