aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2016-09-15 00:52:36 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2016-09-15 12:13:34 +0000
commit27eebbabc23366552508f4b13375f8729b90aacb (patch)
treef7a77eed0f31655a4e9d7ace1d16e87d628879e4 /src/runtime
parent78c46581f4da82473f3efcbbe1f3b48625f88471 (diff)
downloadgo-27eebbabc23366552508f4b13375f8729b90aacb.tar.xz
cmd/compile, runtime: remove throwreturn
Change-Id: If8d27cf1cd8d650ed0ba332448d3174d80b6b0ca Reviewed-on: https://go-review.googlesource.com/29217 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/panic.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/panic.go b/src/runtime/panic.go
index 016e29013a..787c4300dd 100644
--- a/src/runtime/panic.go
+++ b/src/runtime/panic.go
@@ -62,10 +62,6 @@ func panicmem() {
panic(memoryError)
}
-func throwreturn() {
- throw("no return at end of a typed function - compiler is broken")
-}
-
func throwinit() {
throw("recursive call during initialization - linker skew")
}