hotspot/src/cpu/x86/vm/c1_CodeStubs_x86.cpp
changeset 34200 0a24709c3861
parent 32203 01a3716ed455
child 46620 750c6edff33b
equal deleted inserted replaced
34199:ae7dbc401221 34200:0a24709c3861
    79   __ jmp(_continuation);
    79   __ jmp(_continuation);
    80 }
    80 }
    81 
    81 
    82 void CounterOverflowStub::emit_code(LIR_Assembler* ce) {
    82 void CounterOverflowStub::emit_code(LIR_Assembler* ce) {
    83   __ bind(_entry);
    83   __ bind(_entry);
    84   ce->store_parameter(_method->as_register(), 1);
    84   Metadata *m = _method->as_constant_ptr()->as_metadata();
       
    85   ce->store_parameter(m, 1);
    85   ce->store_parameter(_bci, 0);
    86   ce->store_parameter(_bci, 0);
    86   __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::counter_overflow_id)));
    87   __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::counter_overflow_id)));
    87   ce->add_call_info_here(_info);
    88   ce->add_call_info_here(_info);
    88   ce->verify_oop_map(_info);
    89   ce->verify_oop_map(_info);
    89   __ jmp(_continuation);
    90   __ jmp(_continuation);