]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: checkwidthj all expressions in walk
authorJosh Bleecher Snyder <josharian@gmail.com>
Fri, 28 Apr 2017 00:18:02 +0000 (17:18 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Fri, 28 Apr 2017 23:38:15 +0000 (23:38 +0000)
commitc4335f81a29dd6d43db7337707a27908c5059b0c
tree1eefb6be4c0ef072e72556e1f1bb8c60ba771569
parentc1ac70ff9206191d3e9daf5cf9f9de193f8dd9a8
cmd/compile: checkwidthj all expressions in walk

Instead of playing whack-a-mole finding all
the non-dowidth'd expressions that can sneak
out of the frontend and then deciding on
just the right place to handle them,
use a big hammer.

Fixes #20152

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