mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: move Node.Typecheck to flags
Change-Id: Id5aa4a1499068bf2d3497b21d794f970b7e47fdf Reviewed-on: https://go-review.googlesource.com/41795 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
e2560ace3c
commit
502a03ffcf
13 changed files with 67 additions and 64 deletions
|
|
@ -489,8 +489,8 @@ func (n *Node) jconv(s fmt.State, flag FmtFlag) {
|
|||
fmt.Fprintf(s, " ld(%d)", e.Loopdepth)
|
||||
}
|
||||
|
||||
if c == 0 && n.Typecheck != 0 {
|
||||
fmt.Fprintf(s, " tc(%d)", n.Typecheck)
|
||||
if c == 0 && n.Typecheck() != 0 {
|
||||
fmt.Fprintf(s, " tc(%d)", n.Typecheck())
|
||||
}
|
||||
|
||||
if n.Isddd() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue