Partial fix for #7158: Save EDX in morestack on x86-32

This commit is contained in:
Niko Matsakis 2013-06-15 16:18:39 -04:00
parent 0d7f8f7685
commit 461a79a247

View file

@ -207,12 +207,14 @@ MORESTACK:
subl $12, %esp
// Save the return value of the function we allocated space for
movl %edx, 4(%esp)
movl %eax, (%esp)
call UPCALL_DEL_STACK
// And restore it
movl (%esp), %eax
movl 4(%esp), %edx
addl $12,%esp