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
|
|
@ -371,7 +371,7 @@ func compile(fn *Node) {
|
|||
// set up domain for labels
|
||||
clearlabels()
|
||||
|
||||
if Curfn.Type.Outnamed != 0 {
|
||||
if Curfn.Type.Outnamed {
|
||||
// add clearing of the output parameters
|
||||
var save Iter
|
||||
t := Structfirst(&save, Getoutarg(Curfn.Type))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue