src/hotspot/cpu/aarch64/templateTable_aarch64.cpp
changeset 50094 2f79462aab9b
parent 49987 e4b3cc56e2b2
child 50110 3d98842c8677
--- a/src/hotspot/cpu/aarch64/templateTable_aarch64.cpp	Sat May 12 17:22:56 2018 +0530
+++ b/src/hotspot/cpu/aarch64/templateTable_aarch64.cpp	Mon May 07 09:11:21 2018 +0200
@@ -747,6 +747,8 @@
   }
   Label ok;
   __ br(Assembler::LO, ok);
+    // ??? convention: move array into r3 for exception message
+  __ mov(r3, array);
   __ mov(rscratch1, Interpreter::_throw_ArrayIndexOutOfBoundsException_entry);
   __ br(rscratch1);
   __ bind(ok);