diff options
| author | Russ Cox <rsc@golang.org> | 2013-09-11 14:18:52 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2013-09-11 14:18:52 -0400 |
| commit | ce9ddd0eeec50d88950f0a51c44a071b3a92d7e9 (patch) | |
| tree | ca126ca476f7e3c5b4e5041d5e09849b654407a9 /src/pkg/runtime/runtime.h | |
| parent | 611b182190e759879b3988077daf7d52eb831b5e (diff) | |
| download | go-ce9ddd0eeec50d88950f0a51c44a071b3a92d7e9.tar.xz | |
runtime: keep args and frame in struct Func
args is useful for printing tracebacks.
frame is not necessary anymore, but we might some day
get back to functions where the frame size does not vary
by program counter, and if so we'll need it. Avoid needing
to introduce a new struct format later by keeping it now.
Fixes #5907.
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/13632051
Diffstat (limited to 'src/pkg/runtime/runtime.h')
| -rw-r--r-- | src/pkg/runtime/runtime.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index df883bda5b..151804f2a6 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -433,7 +433,6 @@ struct Func uintptr entry; // start pc int32 nameoff;// function name - // TODO: Perhaps remove these fields. int32 args; // in/out args size int32 frame; // legacy frame size; use pcsp if possible |
