< prev index next >

src/cpu/ppc/vm/interpreter_ppc.cpp

Print this page
rev 8109 : 8078482: ppc: pass thread to throw_AbstractMethodError

@@ -425,11 +425,10 @@
   __ blr();
 
   return entry;
 }
 
-
 // Call an accessor method (assuming it is resolved, otherwise drop into
 // vanilla (slow path) entry.
 address InterpreterGenerator::generate_jump_to_normal_entry(void) {
   address entry = __ pc();
   address normal_entry = Interpreter::entry_for_kind(Interpreter::zerolocals);

@@ -471,11 +470,12 @@
   __ save_LR_CR(R0);
   __ push_frame_reg_args(0, R11_scratch1);
 
   // This is not a leaf but we have a JavaFrameAnchor now and we will
   // check (create) exceptions afterward so this is ok.
-  __ call_VM_leaf(CAST_FROM_FN_PTR(address, InterpreterRuntime::throw_AbstractMethodError));
+  __ call_VM_leaf(CAST_FROM_FN_PTR(address, InterpreterRuntime::throw_AbstractMethodError),
+                  R16_thread);
 
   // Pop the C frame and restore LR.
   __ pop_frame();
   __ restore_LR_CR(R0);
 
< prev index next >