cmd/compile: delete Func.Outer

This was just storage for a linked list.

Change-Id: I850e8db1e1f5e72410f5c904be9409179b56a94a
Reviewed-on: https://go-review.googlesource.com/23484
Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
Russ Cox 2016-05-26 23:43:19 -04:00
parent cedc7c8f20
commit 93369001c7
4 changed files with 19 additions and 16 deletions

View file

@ -199,9 +199,8 @@ type Func struct {
Dcl []*Node // autodcl for this func/closure
Inldcl Nodes // copy of dcl for use in inlining
Closgen int
Outerfunc *Node
Outerfunc *Node // outer function (for closure)
FieldTrack map[*Sym]struct{}
Outer *Node // outer func for closure
Ntype *Node // signature
Top int // top context (Ecall, Eproc, etc)
Closure *Node // OCLOSURE <-> ODCLFUNC