aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/panic1.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/panic1.go')
-rw-r--r--src/runtime/panic1.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/panic1.go b/src/runtime/panic1.go
index 9756fab46e..880c3bac9b 100644
--- a/src/runtime/panic1.go
+++ b/src/runtime/panic1.go
@@ -23,7 +23,7 @@ func recovery(gp *g) {
// d's arguments need to be in the stack.
if sp != 0 && (sp < gp.stack.lo || gp.stack.hi < sp) {
print("recover: ", hex(sp), " not in [", hex(gp.stack.lo), ", ", hex(gp.stack.hi), "]\n")
- gothrow("bad recovery")
+ throw("bad recovery")
}
// Make the deferproc for this d return again,