mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
61b9315d37
commit
dd2ba0c7a7
3 changed files with 14 additions and 35 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue