mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: replace TFIELD kind with separate Field type
Allows removing a bunch of unnecessary fields. Passes toolstash/buildall. Change-Id: Iec2492920e1c3ef352a9bf4296c74a55d9cc9ad6 Reviewed-on: https://go-review.googlesource.com/20677 Reviewed-by: Robert Griesemer <gri@golang.org> Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
2a46b08a02
commit
2e9369067b
22 changed files with 295 additions and 292 deletions
|
|
@ -146,7 +146,7 @@ type Param struct {
|
|||
Stackparam *Node // OPARAM node referring to stack copy of param
|
||||
|
||||
// ONAME PPARAM
|
||||
Field *Type // TFIELD in arg struct
|
||||
Field *Field // TFIELD in arg struct
|
||||
|
||||
// ONAME closure param with PPARAMREF
|
||||
Outer *Node // outer PPARAMREF in nested closure
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue