equal
deleted
inserted
replaced
745 assert(r1 != array, "different registers"); |
745 assert(r1 != array, "different registers"); |
746 __ mov(r1, index); |
746 __ mov(r1, index); |
747 } |
747 } |
748 Label ok; |
748 Label ok; |
749 __ br(Assembler::LO, ok); |
749 __ br(Assembler::LO, ok); |
|
750 // ??? convention: move array into r3 for exception message |
|
751 __ mov(r3, array); |
750 __ mov(rscratch1, Interpreter::_throw_ArrayIndexOutOfBoundsException_entry); |
752 __ mov(rscratch1, Interpreter::_throw_ArrayIndexOutOfBoundsException_entry); |
751 __ br(rscratch1); |
753 __ br(rscratch1); |
752 __ bind(ok); |
754 __ bind(ok); |
753 } |
755 } |
754 |
756 |