Commit fac7d5dd authored by Matthew Dempsky's avatar Matthew Dempsky

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/104236Reviewed-by: default avatarRobert Griesemer <gri@golang.org>
parent ce1252a6
......@@ -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)
}
fmt.Printf("export symbol %v\n", n.Sym)
}
exportlist = append(exportlist, n)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment