]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove confusing comment, fix comment for symExport
authorRobert Griesemer <gri@golang.org>
Thu, 30 Mar 2017 23:40:52 +0000 (16:40 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 31 Mar 2017 00:54:15 +0000 (00:54 +0000)
commit42aa608f8acd50f963b0f1807a6c3ecbf651b6e2
tree8fa6daee33ce15758d1db280b34a2afa237a3f12
parent673a8fdfe60929f61657dbfbdf5534eabe8cd6f5
cmd/compile: remove confusing comment, fix comment for symExport

The symExport flag tells whether a symbol is in the export list
already or not (and it's also used to avoid being added to that
list). Exporting is based on that export list - no need to check
again.

Change-Id: I6056f97aa5c24a19376957da29199135c8da35f9
Reviewed-on: https://go-review.googlesource.com/39033
Reviewed-by: Dave Cheney <dave@cheney.net>
src/cmd/compile/internal/gc/bexport.go
src/cmd/compile/internal/gc/go.go