Mercurial > hg > truffle
comparison src/cpu/sparc/vm/sharedRuntime_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 | 931e5f39e365 |
children | 1d7922586cf6 |
comparison
equal
deleted
inserted
replaced
5922:ff29ce866f23 | 5923:8a48c2906f91 |
---|---|
3323 | 3323 |
3324 #ifdef ASSERT | 3324 #ifdef ASSERT |
3325 // make sure that the frames are aligned properly | 3325 // make sure that the frames are aligned properly |
3326 #ifndef _LP64 | 3326 #ifndef _LP64 |
3327 __ btst(wordSize*2-1, SP); | 3327 __ btst(wordSize*2-1, SP); |
3328 __ breakpoint_trap(Assembler::notZero); | 3328 __ breakpoint_trap(Assembler::notZero, Assembler::ptr_cc); |
3329 #endif | 3329 #endif |
3330 #endif | 3330 #endif |
3331 | 3331 |
3332 // Deopt needs to pass some extra live values from frame to frame | 3332 // Deopt needs to pass some extra live values from frame to frame |
3333 | 3333 |
3405 __ sub(SP, O7, SP); | 3405 __ sub(SP, O7, SP); |
3406 | 3406 |
3407 #ifdef ASSERT | 3407 #ifdef ASSERT |
3408 // make sure that there is at least one entry in the array | 3408 // make sure that there is at least one entry in the array |
3409 __ tst(O4array_size); | 3409 __ tst(O4array_size); |
3410 __ breakpoint_trap(Assembler::zero); | 3410 __ breakpoint_trap(Assembler::zero, Assembler::icc); |
3411 #endif | 3411 #endif |
3412 | 3412 |
3413 // Now push the new interpreter frames | 3413 // Now push the new interpreter frames |
3414 __ bind(loop); | 3414 __ bind(loop); |
3415 | 3415 |