From: Peter Molnar Date: Sat, 5 Jan 2008 12:15:10 +0000 (+0000) Subject: * src/vm/jit/s390/asmpart.S (asm_vm_call_method): Fixed stack pointer corruption... X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=05c194b288600f4132478198fb699237fb76d802;p=cacao.git * src/vm/jit/s390/asmpart.S (asm_vm_call_method): Fixed stack pointer corruption in case there are stack arguments and an exception escapes. --- diff --git a/src/vm/jit/s390/asmpart.S b/src/vm/jit/s390/asmpart.S index 48c31fb8a..1022d1626 100644 --- a/src/vm/jit/s390/asmpart.S +++ b/src/vm/jit/s390/asmpart.S @@ -163,10 +163,10 @@ L_asm_vm_call_method_stack_copy_done: la mptr, 2*4(s1) /* load method pointer */ l pv, 0(mptr) /* load procedure vector from method pointer */ basr ra, pv /* call method */ - lr sp, s1 /* restore stack pointer */ L_asm_vm_call_method_return: + lr sp, s1 /* restore stack pointer */ l s0, 0*4(sp) /* restore used callee saved registers */ l s1, 1*4(sp) l %r12, 3*4(sp)