fix unsafe stack pointer adjustment in vmInvoke

This commit is contained in:
Joel Dice 2009-04-25 17:31:24 -06:00
parent 1ed7c0d94c
commit 5354e36530

View File

@ -129,11 +129,10 @@ LOCAL(test):
// call function
call *12(%ebp)
// restore stack pointer
movl %ebp,%esp
// restore callee-saved registers
subl $16,%esp
// restore stack pointer and callee-saved registers
movl %ebp,%ecx
subl $16,%ecx
movl %ecx,%esp
movl 0(%esp),%ebx
movl 4(%esp),%esi