mirror of
https://github.com/golang/go
synced 2024-11-17 08:14:48 -07:00
cmd/compile: simplify exportsym debug message
No need to disambiguate if we're exporting or reexporting, because it's obvious from the output. Change-Id: I59053d34dc6f8b29e20749c7b03c3cb4f4d641ff Reviewed-on: https://go-review.googlesource.com/104236 Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
ce1252a610
commit
fac7d5dd95
@ -36,11 +36,7 @@ func exportsym(n *Node) {
|
||||
n.Sym.SetOnExportList(true)
|
||||
|
||||
if Debug['E'] != 0 {
|
||||
if n.Sym.Pkg == localpkg {
|
||||
fmt.Printf("export symbol %v\n", n.Sym)
|
||||
} else {
|
||||
fmt.Printf("reexport name %v\n", n.Sym)
|
||||
}
|
||||
}
|
||||
|
||||
exportlist = append(exportlist, n)
|
||||
|
Loading…
Reference in New Issue
Block a user