aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/stubs.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/stubs.go')
-rw-r--r--src/pkg/runtime/stubs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/runtime/stubs.go b/src/pkg/runtime/stubs.go
index 77b0186564..a40de86bf5 100644
--- a/src/pkg/runtime/stubs.go
+++ b/src/pkg/runtime/stubs.go
@@ -82,3 +82,7 @@ func gomemeq(a, b unsafe.Pointer, size uintptr) bool
// Code pointer for the nohash algorithm. Used for producing better error messages.
var nohashcode uintptr
+
+// Go version of runtime.throw.
+// in panic.c
+func throwgo(s string)