]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/gc: remove unused exportsize variable
authorDave Cheney <dave@cheney.net>
Mon, 13 Mar 2017 03:30:44 +0000 (14:30 +1100)
committerDave Cheney <dave@cheney.net>
Mon, 13 Mar 2017 04:00:12 +0000 (04:00 +0000)
commitdd0e1acfeb50f33f79738b2ef7e21a61ecec9d22
tree4686463001920a1009b5678ef360458b1bc3e217
parentd5a9fbd556c441fa537c730681d6f8e7673b6e47
cmd/compile/internal/gc: remove unused exportsize variable

In Go 1.7 and earlier, gc.exportsize tracked the number of bytes
written through exportf. With the removal of the old exporter in Go 1.8
exportf is only used for printing the build id, and the header and
trailer of the binary export format. The size of the export data is
now returned directly from the exporter and exportsize is never
referenced. Remove it.

Change-Id: Id301144b3c26c9004c722d0c55c45b0e0801a88c
Reviewed-on: https://go-review.googlesource.com/38116
Run-TryBot: Dave Cheney <dave@cheney.net>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/export.go