mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
637e1aad5c
commit
def9c0b06d
2 changed files with 11 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue