8143180: Internal Error in src/cpu/ppc/vm/macroAssembler_ppc.cpp:4287
authorgoetz
Thu, 19 Nov 2015 11:02:14 +0100
changeset 34198 7aba2adf6e1f
parent 34197 bef14f844171
child 34199 ae7dbc401221
8143180: Internal Error in src/cpu/ppc/vm/macroAssembler_ppc.cpp:4287 Summary: Fix ppc64 issue after 8141133. Reviewed-by: simonis, goetz
hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp
--- a/hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp	Wed Nov 18 10:46:21 2015 -1000
+++ b/hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp	Thu Nov 19 11:02:14 2015 +0100
@@ -2962,9 +2962,9 @@
   __ set_last_Java_frame(/*sp*/R1_SP, /*pc*/R11_scratch1);
 
   __ mr(klass_index_reg, R3);
-  __ li(R5, Deoptimization::Unpack_exception);
+  __ li(R5_ARG3, Deoptimization::Unpack_uncommon_trap);
   __ call_VM_leaf(CAST_FROM_FN_PTR(address, Deoptimization::uncommon_trap),
-                  R16_thread, klass_index_reg, R5);
+                  R16_thread, klass_index_reg, R5_ARG3);
 
   // Set an oopmap for the call site.
   oop_maps->add_gc_map(gc_map_pc - start, map);