< prev index next >
src/hotspot/cpu/arm/templateTable_arm.cpp
Print this page
rev 49827 : 8201593: Print array length in ArrayIndexOutOfBoundsException.
*** 791,800 ****
--- 791,801 ----
__ cmp_32(index, Rtemp);
if (index != R4_ArrayIndexOutOfBounds_index) {
// convention with generate_ArrayIndexOutOfBounds_handler()
__ mov(R4_ArrayIndexOutOfBounds_index, index, hs);
}
+ __ mov(R1, array, hs);
__ b(Interpreter::_throw_ArrayIndexOutOfBoundsException_entry, hs);
}
void TemplateTable::iaload() {
< prev index next >