mirror of
https://github.com/golang/go
synced 2024-11-18 18:54:42 -07:00
cmd/internal/gc: fix node print
Change-Id: I0d2b909ceeba9da86c77de4ce23d7c6063f8f10f Reviewed-on: https://go-review.googlesource.com/9017 Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
parent
7ae9d06880
commit
a5e48cf023
@ -202,7 +202,7 @@ func Jconv(n *Node, flag int) string {
|
||||
}
|
||||
|
||||
if c == 0 && n.Addable {
|
||||
fmt.Fprintf(&buf, " a(%d)", n.Addable)
|
||||
fmt.Fprintf(&buf, " a(%v)", n.Addable)
|
||||
}
|
||||
|
||||
if c == 0 && n.Vargen != 0 {
|
||||
@ -230,7 +230,7 @@ func Jconv(n *Node, flag int) string {
|
||||
}
|
||||
|
||||
if n.Colas {
|
||||
fmt.Fprintf(&buf, " colas(%d)", n.Colas)
|
||||
fmt.Fprintf(&buf, " colas(%v)", n.Colas)
|
||||
}
|
||||
|
||||
if n.Funcdepth != 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user