aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/panic.c
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2014-08-18 13:26:28 -0700
committerKeith Randall <khr@golang.org>2014-08-18 13:26:28 -0700
commit523aa932881e72ccc83f25d441b2e535c1048296 (patch)
tree04cace29ed8680d59c5b571fbd5c615229902463 /src/pkg/runtime/panic.c
parent65d8cb985f790f272e4f0827f4fab75e223a15b6 (diff)
downloadgo-523aa932881e72ccc83f25d441b2e535c1048296.tar.xz
runtime: move panicindex/panicslice to Go.
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/130210043
Diffstat (limited to 'src/pkg/runtime/panic.c')
-rw-r--r--src/pkg/runtime/panic.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/pkg/runtime/panic.c b/src/pkg/runtime/panic.c
index bc685398a6..d0284f9c20 100644
--- a/src/pkg/runtime/panic.c
+++ b/src/pkg/runtime/panic.c
@@ -460,18 +460,6 @@ runtime·dopanic(int32 unused)
}
void
-runtime·panicindex(void)
-{
- runtime·panicstring("index out of range");
-}
-
-void
-runtime·panicslice(void)
-{
- runtime·panicstring("slice bounds out of range");
-}
-
-void
runtime·throwreturn(void)
{
// can only happen if compiler is broken