aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-02-25 11:31:09 -0500
committerRuss Cox <rsc@golang.org>2014-02-25 11:31:09 -0500
commit5b35dc0f6f0ff0a96edd8f8460911273bced073a (patch)
treef73a77094a5c95703e586b5b4a42da28ee9a0741 /src/pkg/runtime
parent441c4bb939666555f697c1d5abf30b2f78528962 (diff)
downloadgo-5b35dc0f6f0ff0a96edd8f8460911273bced073a.tar.xz
runtime: fix 386, arm build
CL 68150047 lost runtime.panicdivide. TBR=dfc CC=golang-codereviews https://golang.org/cl/68610043
Diffstat (limited to 'src/pkg/runtime')
-rw-r--r--src/pkg/runtime/panic.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pkg/runtime/panic.c b/src/pkg/runtime/panic.c
index f4f2148d54..6e5be3e677 100644
--- a/src/pkg/runtime/panic.c
+++ b/src/pkg/runtime/panic.c
@@ -487,3 +487,9 @@ runtime·Goexit(void)
rundefer();
runtime·goexit();
}
+
+void
+runtime·panicdivide(void)
+{
+ runtime·panicstring("integer divide by zero");
+}