]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: combine walkexpr cases
authorJosh Bleecher Snyder <josharian@gmail.com>
Fri, 24 Mar 2017 23:22:08 +0000 (16:22 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Fri, 24 Mar 2017 23:37:49 +0000 (23:37 +0000)
commit0b647ffb98fa40077b521ea0b4aa1dfa5dcb7912
tree7c45e733d2ff4db4a70dcb085cc043169f29e5aa
parent2c50bffee1c49d71ec1ea2c6cad10570ad780a4b
cmd/compile: combine walkexpr cases

The type switch in walkexpr is giant.
Shrink it a little by coalescing identical cases
and removing some vertical whitespace.

No functional changes.

Passes toolstash-check.

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