mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: remove Node.Nincr, Node.Nelse, Node.Initplan
$ sizeof -p cmd/compile/internal/gc Node Node 288 $ Change-Id: I4e316efa246132b3faa3a892e4fe9c9039250665 Reviewed-on: https://go-review.googlesource.com/10520 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
parent
bbdf631f34
commit
ffef180f82
16 changed files with 54 additions and 88 deletions
|
|
@ -16,10 +16,8 @@ type Node struct {
|
|||
Left *Node
|
||||
Right *Node
|
||||
Ntest *Node
|
||||
Nincr *Node
|
||||
Ninit *NodeList
|
||||
Nbody *NodeList
|
||||
Nelse *NodeList
|
||||
List *NodeList
|
||||
Rlist *NodeList
|
||||
|
||||
|
|
@ -44,7 +42,6 @@ type Node struct {
|
|||
Pkg *Pkg
|
||||
|
||||
// OARRAYLIT, OMAPLIT, OSTRUCTLIT.
|
||||
Initplan *InitPlan
|
||||
|
||||
// Escape analysis.
|
||||
Escflowsrc *NodeList // flow(this, src)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue