diff src/cpu/sparc/vm/templateInterpreter_sparc.cpp @ 5923:8a48c2906f91

7150046: SIGILL on sparcv9 fastdebug Summary: Breakpoint needs to do 64-bit compare for pointers on sparcv9 Reviewed-by: coleenp, never Contributed-by: dean.long@oracle.com
author coleenp
date Mon, 05 Mar 2012 14:19:00 -0500
parents 22cee0ee8927
children 2fe087c3e814
line wrap: on
line diff
--- a/src/cpu/sparc/vm/templateInterpreter_sparc.cpp	Thu Mar 01 12:41:13 2012 +0400
+++ b/src/cpu/sparc/vm/templateInterpreter_sparc.cpp	Mon Mar 05 14:19:00 2012 -0500
@@ -379,7 +379,7 @@
 
 #ifdef ASSERT
     __ tst(O0);
-    __ breakpoint_trap(Assembler::zero);
+    __ breakpoint_trap(Assembler::zero, Assembler::ptr_cc);
 #endif // ASSERT
 
     __ bind(done);
@@ -2050,7 +2050,7 @@
   AddressLiteral stop_at(&StopInterpreterAt);
   __ load_ptr_contents(stop_at, G4_scratch);
   __ cmp(G3_scratch, G4_scratch);
-  __ breakpoint_trap(Assembler::equal);
+  __ breakpoint_trap(Assembler::equal, Assembler::icc);
 }
 #endif // not PRODUCT
 #endif // !CC_INTERP