]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/gc: various minor cleanups
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 11 Jun 2018 08:11:29 +0000 (09:11 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 20 Aug 2018 13:27:53 +0000 (13:27 +0000)
commit3b7b9dce43613d22ac58cc61b19268b32a157df0
treeac9a5fef2e0303541177bda06e22c0847c0c0512
parent9e4d87d1158a5847dbb94c0fd3f6ab451460d148
cmd/compile/internal/gc: various minor cleanups

Two funcs and a field were unused. Remove them.

A few statements could be made simpler.

importsym's pos parameter was unused, so remove it.

Finally, don't use printf-like funcs with constant strings that have no
formatting directives.

Change-Id: I415452249bf2168aa353ac4f3643dfc03017ee53
Reviewed-on: https://go-review.googlesource.com/117699
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
src/cmd/compile/internal/gc/bv.go
src/cmd/compile/internal/gc/const.go
src/cmd/compile/internal/gc/dwinl.go
src/cmd/compile/internal/gc/export.go
src/cmd/compile/internal/gc/iexport.go
src/cmd/compile/internal/gc/main.go
src/cmd/compile/internal/gc/mpint.go
src/cmd/compile/internal/gc/scope_test.go
src/cmd/compile/internal/gc/walk.go