< prev index next >
src/hotspot/cpu/ppc/c1_Runtime1_ppc.cpp
Print this page
rev 59326 : 8244949: [PPC64] Reengineer assembler stop function
Reviewed-by:
*** 794,807 ****
#ifdef ASSERT
// Check that fields in JavaThread for exception oop and issuing pc are
// empty before writing to them.
__ ld(R0, in_bytes(JavaThread::exception_oop_offset()), R16_thread);
__ cmpdi(CCR0, R0, 0);
! __ asm_assert_eq("exception oop already set", 0x963);
__ ld(R0, in_bytes(JavaThread::exception_pc_offset() ), R16_thread);
__ cmpdi(CCR0, R0, 0);
! __ asm_assert_eq("exception pc already set", 0x962);
#endif
// Save the exception and issuing pc in the thread.
__ std(Rexception, in_bytes(JavaThread::exception_oop_offset()), R16_thread);
__ std(Rexception_pc, in_bytes(JavaThread::exception_pc_offset() ), R16_thread);
--- 794,807 ----
#ifdef ASSERT
// Check that fields in JavaThread for exception oop and issuing pc are
// empty before writing to them.
__ ld(R0, in_bytes(JavaThread::exception_oop_offset()), R16_thread);
__ cmpdi(CCR0, R0, 0);
! __ asm_assert_eq("exception oop already set");
__ ld(R0, in_bytes(JavaThread::exception_pc_offset() ), R16_thread);
__ cmpdi(CCR0, R0, 0);
! __ asm_assert_eq("exception pc already set");
#endif
// Save the exception and issuing pc in the thread.
__ std(Rexception, in_bytes(JavaThread::exception_oop_offset()), R16_thread);
__ std(Rexception_pc, in_bytes(JavaThread::exception_pc_offset() ), R16_thread);
< prev index next >