equal
deleted
inserted
replaced
30 RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index, |
30 RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index, |
31 bool throw_index_out_of_bounds_exception) |
31 bool throw_index_out_of_bounds_exception) |
32 : _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception) |
32 : _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception) |
33 , _index(index) |
33 , _index(index) |
34 { |
34 { |
|
35 assert(info != NULL, "must have info"); |
35 _info = new CodeEmitInfo(info); |
36 _info = new CodeEmitInfo(info); |
36 } |
37 } |
37 |
38 |
38 |
39 |
39 void RangeCheckStub::emit_code(LIR_Assembler* ce) { |
40 void RangeCheckStub::emit_code(LIR_Assembler* ce) { |