]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: make node.hasVal into two bools
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 25 Apr 2017 15:51:52 +0000 (08:51 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Wed, 26 Apr 2017 00:02:30 +0000 (00:02 +0000)
commit2fb2ebc32ee37a66e3d6a77ff9450665153a604c
treeb098ba09cd17a2383fa9809c2353d48c6743d3ab
parent7f0757b3940799661ed31838c6a4b377b69d96f4
cmd/compile: make node.hasVal into two bools

In addition to being more compact,
this makes the code a lot clearer.

Change-Id: Ibcb70526c2e5913dcf34904fda194e3585228c3f
Reviewed-on: https://go-review.googlesource.com/41761
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/syntax.go