cmd/compile: remove Label.Link field and lastlabel global var

Change-Id: If2a174f482ecd56dee43f921d13fef98439872fc
Reviewed-on: https://go-review.googlesource.com/20559
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Robert Griesemer 2016-03-10 20:35:27 -08:00
parent 637e1aad5c
commit def9c0b06d
2 changed files with 11 additions and 20 deletions

View file

@ -86,10 +86,9 @@ type Sym struct {
}
type Label struct {
Sym *Sym
Def *Node
Use []*Node
Link *Label
Sym *Sym
Def *Node
Use []*Node
// for use during gen
Gotopc *obj.Prog // pointer to unresolved gotos