src/cpu/zero/vm/cppInterpreter_zero.cpp

changeset 1860
0c5b3cf3c1f5
parent 1814
f9271ff9d324
child 1869
22af4ce8dba1
     1.1 --- a/src/cpu/zero/vm/cppInterpreter_zero.cpp	Thu Apr 29 17:53:58 2010 -0700
     1.2 +++ b/src/cpu/zero/vm/cppInterpreter_zero.cpp	Fri Apr 30 04:27:25 2010 -0700
     1.3 @@ -833,7 +833,7 @@
     1.4    int callee_extra_locals = callee_locals - callee_param_count;
     1.5  
     1.6    if (interpreter_frame) {
     1.7 -    intptr_t *locals        = interpreter_frame->sp() + method->max_locals();
     1.8 +    intptr_t *locals        = interpreter_frame->fp() + method->max_locals();
     1.9      interpreterState istate = interpreter_frame->get_interpreterState();
    1.10      intptr_t *monitor_base  = (intptr_t*) istate;
    1.11      intptr_t *stack_base    = monitor_base - monitor_words;

mercurial