aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_ppc64x.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/sys_ppc64x.go')
-rw-r--r--src/runtime/sys_ppc64x.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/sys_ppc64x.go b/src/runtime/sys_ppc64x.go
index b0c0331fcb..bd182e3a19 100644
--- a/src/runtime/sys_ppc64x.go
+++ b/src/runtime/sys_ppc64x.go
@@ -12,7 +12,7 @@ import "unsafe"
// and then did an immediate Gosave.
func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
if buf.lr != 0 {
- gothrow("invalid use of gostartcall")
+ throw("invalid use of gostartcall")
}
buf.lr = buf.pc
buf.pc = uintptr(fn)
@@ -33,5 +33,5 @@ func rewindmorestack(buf *gobuf) {
}
}
print("runtime: pc=", hex(buf.pc), " ", hex(inst), "\n")
- gothrow("runtime: misuse of rewindmorestack")
+ throw("runtime: misuse of rewindmorestack")
}