mirror of
https://github.com/golang/go
synced 2024-11-23 16:00:06 -07:00
cmd/compile/internal/gc: remove unused field Type.Siggen
Remove unused field Type.Siggen in go.go. This change passes go build -toolexec 'toolstash -cmp' -a std. Change-Id: Ia61fe65a226c913fbf4a11a71d7453c56aa46c0e Reviewed-on: https://go-review.googlesource.com/14372 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dave Cheney <dave@cheney.net>
This commit is contained in:
parent
391cc54da8
commit
704e05c6ec
@ -160,7 +160,6 @@ type Type struct {
|
|||||||
Trecur uint8 // to detect loops
|
Trecur uint8 // to detect loops
|
||||||
Printed uint8
|
Printed uint8
|
||||||
Embedded uint8 // TFIELD embedded type
|
Embedded uint8 // TFIELD embedded type
|
||||||
Siggen uint8
|
|
||||||
Funarg uint8 // on TSTRUCT and TFIELD
|
Funarg uint8 // on TSTRUCT and TFIELD
|
||||||
Copyany uint8
|
Copyany uint8
|
||||||
Local bool // created in this file
|
Local bool // created in this file
|
||||||
|
@ -3556,7 +3556,6 @@ func copytype(n *Node, t *Type) {
|
|||||||
if n.Name != nil {
|
if n.Name != nil {
|
||||||
t.Vargen = n.Name.Vargen
|
t.Vargen = n.Name.Vargen
|
||||||
}
|
}
|
||||||
t.Siggen = 0
|
|
||||||
t.Method = nil
|
t.Method = nil
|
||||||
t.Xmethod = nil
|
t.Xmethod = nil
|
||||||
t.Nod = nil
|
t.Nod = nil
|
||||||
|
Loading…
Reference in New Issue
Block a user