hotspot/src/cpu/x86/vm/c1_CodeStubs_x86.cpp
changeset 6453 970dc585ab63
parent 5547 f4b087cbb361
child 6745 a34ef8968a84
equal deleted inserted replaced
6452:cc624b341ab2 6453:970dc585ab63
    66 
    66 
    67   __ bind(do_return);
    67   __ bind(do_return);
    68   __ jmp(_continuation);
    68   __ jmp(_continuation);
    69 }
    69 }
    70 
    70 
    71 #ifdef TIERED
       
    72 void CounterOverflowStub::emit_code(LIR_Assembler* ce) {
    71 void CounterOverflowStub::emit_code(LIR_Assembler* ce) {
    73   __ bind(_entry);
    72   __ bind(_entry);
       
    73   ce->store_parameter(_method->as_register(), 1);
    74   ce->store_parameter(_bci, 0);
    74   ce->store_parameter(_bci, 0);
    75   __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::counter_overflow_id)));
    75   __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::counter_overflow_id)));
    76   ce->add_call_info_here(_info);
    76   ce->add_call_info_here(_info);
    77   ce->verify_oop_map(_info);
    77   ce->verify_oop_map(_info);
    78 
    78   __ jmp(_continuation);
    79   __ jmp(_continuation);
    79 }
    80 }
       
    81 #endif // TIERED
       
    82 
       
    83 
       
    84 
    80 
    85 RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index,
    81 RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index,
    86                                bool throw_index_out_of_bounds_exception)
    82                                bool throw_index_out_of_bounds_exception)
    87   : _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception)
    83   : _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception)
    88   , _index(index)
    84   , _index(index)