summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/runtime/sys_power64x.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/sys_power64x.go b/src/runtime/sys_power64x.go
index f32d1a44f..90ebde7b4 100644
--- a/src/runtime/sys_power64x.go
+++ b/src/runtime/sys_power64x.go
@@ -26,9 +26,9 @@ func rewindmorestack(buf *gobuf) {
var inst uint32
if buf.pc&3 == 0 && buf.pc != 0 {
inst = *(*uint32)(unsafe.Pointer(buf.pc))
- if inst>>24 == 0x4b && inst&3 == 0 {
- //print("runtime: rewind pc=", hex(buf.pc), " to pc=", hex(uintptr(buf.pc + int32(inst<<8)>>8)), "\n");
- buf.pc += uintptr(int32(inst<<8) >> 8)
+ if inst>>26 == 18 && inst&3 == 0 {
+ //print("runtime: rewind pc=", hex(buf.pc), " to pc=", hex(uintptr(buf.pc + int32(inst<<6)>>6)), "\n");
+ buf.pc += uintptr(int32(inst<<6) >> 6)
return
}
}