From: twisti Date: Fri, 29 Apr 2005 15:18:14 +0000 (+0000) Subject: Pass java_objectheader to asm_wrapper_patcher. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=fa77ed409e9e6eb763d4d7530aed137630ff0094;p=cacao.git Pass java_objectheader to asm_wrapper_patcher. --- diff --git a/src/vm/jit/x86_64/asmpart.S b/src/vm/jit/x86_64/asmpart.S index 72eece6cf..c27f3af9f 100644 --- a/src/vm/jit/x86_64/asmpart.S +++ b/src/vm/jit/x86_64/asmpart.S @@ -28,7 +28,7 @@ Reinhard Grafl Christian Thalinger - $Id: asmpart.S 2390 2005-04-26 19:48:02Z twisti $ + $Id: asmpart.S 2411 2005-04-29 15:18:14Z twisti $ */ @@ -846,7 +846,8 @@ noflt: XXX Stack layout: - 24 return address + 32 return address + 24 pointer to virtual java_objectheader 16 machine code (which is patched back later) 8 unresolved class/method/field reference 0 pointer to patcher function @@ -874,7 +875,7 @@ asm_wrapper_patcher: mov 15*8(%rsp),itmp1 /* restore itmp1 and itmp2 */ mov 16*8(%rsp),itmp2 /* can be used by some instructions */ - add $((3+18)*8),%rsp /* remove stack frame, keep ra */ + add $((4+18)*8),%rsp /* remove stack frame, keep ra */ test itmp3,itmp3 /* exception thrown? */ jz L_asm_wrapper_patcher_exception