]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: reduce switch cases in evconst
authorMartin Möhrmann <moehrmann@google.com>
Fri, 7 Apr 2017 06:31:52 +0000 (08:31 +0200)
committerMartin Möhrmann <moehrmann@google.com>
Sat, 8 Apr 2017 05:49:01 +0000 (05:49 +0000)
commit2acd3fa8f134dafd34a1789177950474b256a74a
tree6c91a90db53a7179e4d20b97f84e208758582e2b
parent3959e0798d2be3de99b33bc7d19949ec88adc4c9
cmd/compile: reduce switch cases in evconst

Reduces the number of cases that need to be tested and
reduces size of the evconst function by 101 bytes.

Change-Id: Ie56055a89d0dadd311fb940b51c488fc003694b9
Reviewed-on: https://go-review.googlesource.com/39950
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/gc/const.go