]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: eliminate switch case kinds
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 1 Jun 2016 22:21:56 +0000 (15:21 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 23 Aug 2016 05:26:57 +0000 (05:26 +0000)
commitb046786528d6c802ae007f001a60341fd0d9c9d4
treec73c0ff839ffbfd2efc5baa16d1a7379ad9c9062
parent4739dcf7fbe5f5bbe885c4349d36c3e23658c0c6
cmd/compile: eliminate switch case kinds

We used to have separate kinds for the default
case and the nil type case. Now that those are
gone, we can use a simple bool instead.

Change-Id: I65488e945df68178e893cddd2e091ebb6e32ef4d
Reviewed-on: https://go-review.googlesource.com/26763
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/swt.go
src/cmd/compile/internal/gc/swt_test.go