hotspot/src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp
changeset 6453 970dc585ab63
parent 5547 f4b087cbb361
child 6745 a34ef8968a84
equal deleted inserted replaced
6452:cc624b341ab2 6453:970dc585ab63
    55 #ifdef ASSERT
    55 #ifdef ASSERT
    56   __ should_not_reach_here();
    56   __ should_not_reach_here();
    57 #endif
    57 #endif
    58 }
    58 }
    59 
    59 
    60 #ifdef TIERED
       
    61 
    60 
    62 void CounterOverflowStub::emit_code(LIR_Assembler* ce) {
    61 void CounterOverflowStub::emit_code(LIR_Assembler* ce) {
    63   __ bind(_entry);
    62   __ bind(_entry);
    64   __ set(_bci, G4);
    63   __ set(_bci, G4);
    65   __ call(Runtime1::entry_for(Runtime1::counter_overflow_id), relocInfo::runtime_call_type);
    64   __ call(Runtime1::entry_for(Runtime1::counter_overflow_id), relocInfo::runtime_call_type);
    66   __ delayed()->nop();
    65   __ delayed()->mov_or_nop(_method->as_register(), G5);
    67   ce->add_call_info_here(_info);
    66   ce->add_call_info_here(_info);
    68   ce->verify_oop_map(_info);
    67   ce->verify_oop_map(_info);
    69 
    68 
    70   __ br(Assembler::always, true, Assembler::pt, _continuation);
    69   __ br(Assembler::always, true, Assembler::pt, _continuation);
    71   __ delayed()->nop();
    70   __ delayed()->nop();
    72 }
    71 }
    73 
    72 
    74 #endif // TIERED
       
    75 
    73 
    76 void DivByZeroStub::emit_code(LIR_Assembler* ce) {
    74 void DivByZeroStub::emit_code(LIR_Assembler* ce) {
    77   if (_offset != -1) {
    75   if (_offset != -1) {
    78     ce->compilation()->implicit_exception_table()->append(_offset, __ offset());
    76     ce->compilation()->implicit_exception_table()->append(_offset, __ offset());
    79   }
    77   }