comparison src/cpu/zero/vm/cppInterpreter_zero.cpp @ 10233:e60b3fce2b02

8013067: Zero builds are broken after 8010862. Summary: Fixed broken Zero build. Reviewed-by: twisti, coleenp, kvn
author jiangli
date Mon, 06 May 2013 19:57:35 -0400
parents 0094485b46c7
children e16282db4946
comparison
equal deleted inserted replaced
10172:e01e02a9fcb6 10233:e60b3fce2b02
210 interpreterState istate = frame->interpreter_state(); 210 interpreterState istate = frame->interpreter_state();
211 intptr_t *locals = istate->locals(); 211 intptr_t *locals = istate->locals();
212 212
213 // Update the invocation counter 213 // Update the invocation counter
214 if ((UseCompiler || CountCompiledCalls) && !method->is_synchronized()) { 214 if ((UseCompiler || CountCompiledCalls) && !method->is_synchronized()) {
215 InvocationCounter *counter = method->invocation_counter(); 215 MethodCounters* mcs = method->method_counters();
216 if (mcs == NULL) {
217 CALL_VM_NOCHECK(mcs = InterpreterRuntime::build_method_counters(thread, method));
218 if (HAS_PENDING_EXCEPTION)
219 goto unwind_and_return;
220 }
221 InvocationCounter *counter = mcs->invocation_counter();
216 counter->increment(); 222 counter->increment();
217 if (counter->reached_InvocationLimit()) { 223 if (counter->reached_InvocationLimit()) {
218 CALL_VM_NOCHECK( 224 CALL_VM_NOCHECK(
219 InterpreterRuntime::frequency_counter_overflow(thread, NULL)); 225 InterpreterRuntime::frequency_counter_overflow(thread, NULL));
220 if (HAS_PENDING_EXCEPTION) 226 if (HAS_PENDING_EXCEPTION)