]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove badgerbadgerbadger optimization
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 26 Feb 2019 19:56:19 +0000 (11:56 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 26 Feb 2019 20:11:48 +0000 (20:11 +0000)
commitc63dc6d45956ba471cc88658df4674df3f679a70
tree14aea70a601c3546b92ed96ba0e01258d3965dd8
parentd6311ff1e43dd1e7c9cb9edccd10a04b63a7c41f
cmd/compile: remove badgerbadgerbadger optimization

As discussed in #29242, this optimization is for a bash-ism.
No one writes Go code like this.

In this repo, it triggers only in test/fixedbugs/bug425.go
and that appears to be accidental.

Fixes #29242

Change-Id: I257e6ecc73f24680f7282c6ab28729de4e8b27af
Reviewed-on: https://go-review.googlesource.com/c/163728
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/walk.go