comparison src/cpu/x86/vm/c1_CodeStubs_x86.cpp @ 1783:d5d065957597

6953144: Tiered compilation Summary: Infrastructure for tiered compilation support (interpreter + c1 + c2) for 32 and 64 bit. Simple tiered policy implementation. Reviewed-by: kvn, never, phh, twisti
author iveresov
date Fri, 03 Sep 2010 17:51:07 -0700
parents c18cbe5936b8
children f02a8bbe6ed4
comparison
equal deleted inserted replaced
1782:f353275af40e 1783:d5d065957597
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)