mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile/internal/gc: convert fields of Type to bool
Convert some fields of struct Type in go.go from uint8 to bool. This change passes go build -toolexec 'toolstash -cmp' -a std. Change-Id: I0a6c53f8ee686839b5234010ee2de7ae3940d499 Reviewed-on: https://go-review.googlesource.com/14370 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
e03c7896a7
commit
9ac0fff70a
17 changed files with 52 additions and 52 deletions
|
|
@ -511,7 +511,7 @@ func nodarg(t *Type, fp int) *Node {
|
|||
var n *Node
|
||||
|
||||
// entire argument struct, not just one arg
|
||||
if t.Etype == TSTRUCT && t.Funarg != 0 {
|
||||
if t.Etype == TSTRUCT && t.Funarg {
|
||||
n = Nod(ONAME, nil, nil)
|
||||
n.Sym = Lookup(".args")
|
||||
n.Type = t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue