aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-12-11 02:49:16 -0500
committerRuss Cox <rsc@golang.org>2015-12-16 20:23:15 +0000
commit0abf443513a1399141a2fdac109c63630abf4d4b (patch)
treec9e6867e3d3a5cbcfdd29ce3b9696d34a4f88eb3 /src/runtime/runtime2.go
parentbdd5d6e2574347d63763d42f1a6b529236bbd06a (diff)
downloadgo-0abf443513a1399141a2fdac109c63630abf4d4b.tar.xz
runtime: remove incorrect TODO added in CL 16035
I've already turned away one attempt to remove this field. As the comment above the struct says, many tools know the layout. The field cannot simply be removed. It was one thing to remove the fields name, but the TODO should not have been added. Change-Id: If40eacf0eb35835082055e129e2b88333a0731b9 Reviewed-on: https://go-review.googlesource.com/17741 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r--src/runtime/runtime2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go
index 86ed846064..4a4d5f81ba 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -497,7 +497,7 @@ type _func struct {
nameoff int32 // function name
args int32 // in/out args size
- _ int32 // Previously: legacy frame size. TODO: Remove this.
+ _ int32 // previously legacy frame size; kept for layout compatibility
pcsp int32
pcfile int32