]> Cypherpunks repositories - gostls13.git/commit
runtime: convert panic/recover to Go
authorKeith Randall <khr@golang.org>
Fri, 5 Sep 2014 14:04:16 +0000 (10:04 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 5 Sep 2014 14:04:16 +0000 (10:04 -0400)
commit8217b4a203daaa7f24590f9369c77b758dad1cd6
tree218976e8656a7f05f539d42417060b5bde4082ee
parente0f08b938a37490cd6e4f6bb33360678ac5f42b0
runtime: convert panic/recover to Go

created panic1.go just so diffs were available.
After this CL is in, I'd like to move panic.go -> defer.go
and panic1.go -> panic.go.

LGTM=rsc
R=rsc, khr
CC=golang-codereviews
https://golang.org/cl/133530045
13 files changed:
src/cmd/api/goapi.go
src/cmd/gc/builtin.c
src/cmd/gc/popt.c
src/cmd/gc/runtime.go
src/cmd/gc/walk.c
src/pkg/runtime/cgo/callbacks.c
src/pkg/runtime/panic.c
src/pkg/runtime/panic1.go [new file with mode: 0644]
src/pkg/runtime/runtime.h
src/pkg/runtime/stack.c
src/pkg/runtime/stack_test.go
src/pkg/runtime/stubs.go
test/live.go