< prev index next >
src/cpu/x86/vm/c1_CodeStubs_x86.cpp
Print this page
rev 9031 : 8138892: C1: Improve counter overflow checking
Reviewed-by:
*** 79,89 ****
__ jmp(_continuation);
}
void CounterOverflowStub::emit_code(LIR_Assembler* ce) {
__ bind(_entry);
! ce->store_parameter(_method->as_register(), 1);
ce->store_parameter(_bci, 0);
__ call(RuntimeAddress(Runtime1::entry_for(Runtime1::counter_overflow_id)));
ce->add_call_info_here(_info);
ce->verify_oop_map(_info);
__ jmp(_continuation);
--- 79,90 ----
__ jmp(_continuation);
}
void CounterOverflowStub::emit_code(LIR_Assembler* ce) {
__ bind(_entry);
! Metadata *m = _method->as_constant_ptr()->as_metadata();
! ce->store_parameter(m, 1);
ce->store_parameter(_bci, 0);
__ call(RuntimeAddress(Runtime1::entry_for(Runtime1::counter_overflow_id)));
ce->add_call_info_here(_info);
ce->verify_oop_map(_info);
__ jmp(_continuation);
< prev index next >