7150046: SIGILL on sparcv9 fastdebug

Breakpoint needs to do 64-bit compare for pointers on sparcv9

Reviewed-by: coleenp, never
This commit is contained in:
Dean Long 2012-03-05 14:19:00 -05:00 committed by Coleen Phillimore
parent 3385cfe8cf
commit 98f297ba23
4 changed files with 6 additions and 6 deletions

View file

@ -3325,7 +3325,7 @@ static void gen_new_frame(MacroAssembler* masm, bool deopt) {
// make sure that the frames are aligned properly
#ifndef _LP64
__ btst(wordSize*2-1, SP);
__ breakpoint_trap(Assembler::notZero);
__ breakpoint_trap(Assembler::notZero, Assembler::ptr_cc);
#endif
#endif
@ -3407,7 +3407,7 @@ static void make_new_frames(MacroAssembler* masm, bool deopt) {
#ifdef ASSERT
// make sure that there is at least one entry in the array
__ tst(O4array_size);
__ breakpoint_trap(Assembler::zero);
__ breakpoint_trap(Assembler::zero, Assembler::icc);
#endif
// Now push the new interpreter frames