cmd/internal/obj: remove LSym.Next

Instead, use a slice.

Passes toolstash -cmp.

Change-Id: I889fdb4ae997416f907522f549b96506be13bec7
Reviewed-on: https://go-review.googlesource.com/20699
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Josh Bleecher Snyder 2016-03-14 21:51:09 -07:00
parent 61b9315d37
commit dd2ba0c7a7
3 changed files with 14 additions and 35 deletions

View file

@ -334,7 +334,6 @@ type LSym struct {
Args int32
Locals int32
Size int64
Next *LSym
Gotype *LSym
Autom *Auto
Text *Prog
@ -652,10 +651,8 @@ type Link struct {
RefsWritten int // Number of symbol references already written to object file.
// state for writing objects
Text *LSym
Data *LSym
Etext *LSym
Edata *LSym
Text []*LSym
Data []*LSym
// Cache of Progs
allocIdx int