]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove dead flags
authorMatthew Dempsky <mdempsky@google.com>
Fri, 15 Apr 2016 21:22:27 +0000 (14:22 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Fri, 15 Apr 2016 21:52:58 +0000 (21:52 +0000)
commitd57a118afabdd5b0f516d8d3225b2c7f8c96d64a
tree43a1b628258a846baf5fd5c1d55134d436292928
parent75c079cb976e2ba2106074ca0b3005b788c18f08
cmd/compile: remove dead flags

For some time now, the -d flag has been used to control various named
debug options, rather than setting Debug['d']. Consequently, that
means dflag() always returns false, which means the -y flag is also
useless.

Similarly, Debug['L'] is never used anywhere, so the -L flag can be
dropped too.

Change-Id: I4bb12454e462410115ec4f5565facf76c5c2f255
Reviewed-on: https://go-review.googlesource.com/22121
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/dcl.go
src/cmd/compile/internal/gc/main.go