hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp
changeset 5418 c4955cb6ed33
parent 5335 4319cb12ddfe
child 5427 08c6b2b940f7
--- a/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp	Thu Apr 29 17:53:58 2010 -0700
+++ b/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp	Fri Apr 30 04:27:25 2010 -0700
@@ -833,7 +833,7 @@
   int callee_extra_locals = callee_locals - callee_param_count;
 
   if (interpreter_frame) {
-    intptr_t *locals        = interpreter_frame->sp() + method->max_locals();
+    intptr_t *locals        = interpreter_frame->fp() + method->max_locals();
     interpreterState istate = interpreter_frame->get_interpreterState();
     intptr_t *monitor_base  = (intptr_t*) istate;
     intptr_t *stack_base    = monitor_base - monitor_words;