]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix 386, arm build
authorRuss Cox <rsc@golang.org>
Tue, 25 Feb 2014 16:31:09 +0000 (11:31 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 25 Feb 2014 16:31:09 +0000 (11:31 -0500)
CL 68150047 lost runtime.panicdivide.

TBR=dfc
CC=golang-codereviews
https://golang.org/cl/68610043

src/pkg/runtime/panic.c

index f4f2148d54f9e55dd5839a9bf124300c119bc431..6e5be3e67751abc658bba31643f4faac5aeb8ca5 100644 (file)
@@ -487,3 +487,9 @@ runtime·Goexit(void)
        rundefer();
        runtime·goexit();
 }
+
+void
+runtime·panicdivide(void)
+{
+       runtime·panicstring("integer divide by zero");
+}