< prev index next >

src/hotspot/cpu/arm/c1_Runtime1_arm.cpp

Print this page
rev 50027 : 8201593: Print array length in ArrayIndexOutOfBoundsException.
Reviewed-by: dholmes, mdoerr, smonteith, shade

*** 364,378 **** OopMapSet* Runtime1::generate_exception_throw(StubAssembler* sasm, address target, bool has_argument) { OopMap* oop_map = save_live_registers(sasm); if (has_argument) { __ ldr(R1, Address(SP, arg1_offset)); } - int call_offset = __ call_RT(noreg, noreg, target); OopMapSet* oop_maps = new OopMapSet(); oop_maps->add_gc_map(call_offset, oop_map); DEBUG_ONLY(STOP("generate_exception_throw");) // Should not reach here return oop_maps; --- 364,382 ---- OopMapSet* Runtime1::generate_exception_throw(StubAssembler* sasm, address target, bool has_argument) { OopMap* oop_map = save_live_registers(sasm); + int call_offset; if (has_argument) { __ ldr(R1, Address(SP, arg1_offset)); + __ ldr(R2, Address(SP, arg2_offset)); + call_offset = __ call_RT(noreg, noreg, target, R1, R2); + } else { + call_offset = __ call_RT(noreg, noreg, target); } OopMapSet* oop_maps = new OopMapSet(); oop_maps->add_gc_map(call_offset, oop_map); DEBUG_ONLY(STOP("generate_exception_throw");) // Should not reach here return oop_maps;
< prev index next >