< prev index next >
src/hotspot/cpu/aarch64/c1_CodeStubs_aarch64.cpp
Print this page
*** 50,60 ****
ce->verify_oop_map(_info);
__ b(_continuation);
}
RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index, LIR_Opr array)
! : _throw_index_out_of_bounds_exception(array == NULL), _index(index), _array(array) {
assert(info != NULL, "must have info");
_info = new CodeEmitInfo(info);
}
void RangeCheckStub::emit_code(LIR_Assembler* ce) {
--- 50,66 ----
ce->verify_oop_map(_info);
__ b(_continuation);
}
RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index, LIR_Opr array)
! : _throw_index_out_of_bounds_exception(false), _index(index), _array(array) {
! assert(info != NULL, "must have info");
! _info = new CodeEmitInfo(info);
! }
!
! RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index)
! : _throw_index_out_of_bounds_exception(true), _index(index), _array(NULL) {
assert(info != NULL, "must have info");
_info = new CodeEmitInfo(info);
}
void RangeCheckStub::emit_code(LIR_Assembler* ce) {
< prev index next >