From 523aa932881e72ccc83f25d441b2e535c1048296 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Mon, 18 Aug 2014 13:26:28 -0700 Subject: runtime: move panicindex/panicslice to Go. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/130210043 --- src/pkg/runtime/panic.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/pkg/runtime/panic.c') 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 @@ -459,18 +459,6 @@ runtime·dopanic(int32 unused) runtime·exit(2); } -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) { -- cgit v1.3-5-g9baa