]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove legacy debug flags
authorMatthew Dempsky <mdempsky@google.com>
Mon, 31 Oct 2016 19:01:32 +0000 (12:01 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Mon, 31 Oct 2016 19:18:47 +0000 (19:18 +0000)
commit49b2dd583beffaf983910f24c5e2d02a31d0c5b4
treeca7c565d471a3710cb5e73900dbbd97841a6e594
parent7b50bd8abfe8565abdf7a6116e22a6a0fbf582b7
cmd/compile: remove legacy debug flags

-M, -P, and -R were for debugging backend passes that no longer
exists.

-g is used for debugging instructions generated with Gins, but the SSA
backend mostly generates instructions directly. The handful of
instructions still generated with Gins are pretty useless for
debugging.

-x was used to debug the old lexer, but now it only causes us to print
file names as they're parsed, and only if we manually hack the
compiler to enable tracing.

Change-Id: Ia58d4bc9c1312693466171a3fcefc1221e9a2381
Reviewed-on: https://go-review.googlesource.com/32428
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/gsubr.go
src/cmd/compile/internal/gc/main.go
src/cmd/compile/internal/gc/parser.go