]> Cypherpunks repositories - gostls13.git/commit
runtime: let stack copier update Panic structs for us
authorRuss Cox <rsc@golang.org>
Tue, 9 Sep 2014 01:02:36 +0000 (21:02 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 9 Sep 2014 01:02:36 +0000 (21:02 -0400)
commit0f99a91bb56dd01dfd4e5ce4344e6006e3463ade
treeee9114e1fac7f70c0e910fcc425e9a9b4b8e47e7
parentc93f74d34bf45bcbfa1cfda5ccd198ed5682ddf4
runtime: let stack copier update Panic structs for us

It already is updating parts of them; we're just getting lucky
retraversing them and not finding much to do.
Change argp to a pointer so that it will be updated too.
Existing tests break if you apply the change to adjustpanics
without also updating the type of argp.

LGTM=khr
R=khr
CC=golang-codereviews
https://golang.org/cl/139380043
src/runtime/panic.go
src/runtime/runtime.h
src/runtime/stack.c