diff options
| author | Russ Cox <rsc@golang.org> | 2013-02-21 17:01:13 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2013-02-21 17:01:13 -0500 |
| commit | 1903ad71891eb0b7b79b83145bf16b4a85dead54 (patch) | |
| tree | 227f90007ce38f2cb27a49343bb5880848856a11 /src/pkg/runtime/panic.c | |
| parent | 4335e69af64b96cd69fa876c5157d6caebde23a6 (diff) | |
| download | go-1903ad71891eb0b7b79b83145bf16b4a85dead54.tar.xz | |
cmd/gc, reflect, runtime: switch to indirect func value representation
Step 1 of http://golang.org/s/go11func.
R=golang-dev, r, daniel.morsing, remyoudompheng
CC=golang-dev
https://golang.org/cl/7393045
Diffstat (limited to 'src/pkg/runtime/panic.c')
| -rw-r--r-- | src/pkg/runtime/panic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pkg/runtime/panic.c b/src/pkg/runtime/panic.c index 603ff62eb3..2f553f417e 100644 --- a/src/pkg/runtime/panic.c +++ b/src/pkg/runtime/panic.c @@ -119,7 +119,7 @@ freedefer(Defer *d) // functions that split the stack. #pragma textflag 7 uintptr -runtimeĀ·deferproc(int32 siz, byte* fn, ...) +runtimeĀ·deferproc(int32 siz, FuncVal *fn, ...) { Defer *d; @@ -156,7 +156,8 @@ void runtimeĀ·deferreturn(uintptr arg0) { Defer *d; - byte *argp, *fn; + byte *argp; + FuncVal *fn; d = g->defer; if(d == nil) |
