]> Cypherpunks repositories - gostls13.git/commit
runtime: use reflect.call during panic instead of newstackcall
authorRuss Cox <rsc@golang.org>
Fri, 5 Sep 2014 20:51:45 +0000 (16:51 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 5 Sep 2014 20:51:45 +0000 (16:51 -0400)
commitf8f630f5ecb5e30c9feadab5277f393c58da71f6
treeaa4b7ec09ae38d6fff0c7c0e9e85cccfc6b5a96c
parentfcbe51c9e3ecbb1cb5d8d50f64b0bc42a6a0c7f5
runtime: use reflect.call during panic instead of newstackcall

newstackcall creates a new stack segment, and we want to
be able to throw away all that code.

LGTM=khr
R=khr, iant
CC=dvyukov, golang-codereviews, r
https://golang.org/cl/139270043
17 files changed:
misc/cgo/test/callback.go
misc/cgo/test/issue7695_test.go
src/cmd/dist/buildruntime.c
src/pkg/reflect/value.go
src/pkg/runtime/asm_386.s
src/pkg/runtime/asm_amd64.s
src/pkg/runtime/asm_amd64p32.s
src/pkg/runtime/asm_arm.s
src/pkg/runtime/cgocall.go
src/pkg/runtime/malloc.go
src/pkg/runtime/panic.go
src/pkg/runtime/panic1.go
src/pkg/runtime/runtime.h
src/pkg/runtime/stack.c
src/pkg/runtime/stubs.go
test/fixedbugs/issue4388.go
test/fixedbugs/issue5856.go