changeset 29:87db8957684e

Fix the bug related to SP adjusting in generate_deopt_blob. Before jump to interpreter, the SP must be adjusted to the end of the interpreter frame.
author LIN Chuanwen <linchuanwen@loongson.cn>
date Fri, 12 Nov 2010 15:27:30 +0800
parents f4c60f770c45
children 1f91cc15cd21
files hotspot/src/cpu/mips/vm/sharedRuntime_mips.cpp
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/cpu/mips/vm/sharedRuntime_mips.cpp	Thu Nov 11 19:35:44 2010 +0800
+++ b/hotspot/src/cpu/mips/vm/sharedRuntime_mips.cpp	Fri Nov 12 15:27:30 2010 +0800
@@ -3497,10 +3497,7 @@
   __ empty_FPU_stack();
   //FIXME, we should consider about float and double
   // Push a float or double return value if necessary.
-  //__ leave();
-  __ move(SP, FP);
-  __ lw(RA, SP, 1 * wordSize);
-  __ lw(FP, SP, 0 * wordSize);
+  __ leave();
 
   // Jump to interpreter
   __ jr(RA);