aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/rt0_linux_arm.s
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2017-10-15 22:49:52 +0100
committerEmmanuel Odeke <emm.odeke@gmail.com>2017-10-16 19:59:24 +0000
commitbb45bc27b5d786943bdc058bdae54b1bde78613b (patch)
tree85c50e6576df03d0e16b11612a6162c668fdb227 /src/runtime/rt0_linux_arm.s
parente0111bb0f495696e78d4d17c0c0e39b294bb32dd (diff)
downloadgo-bb45bc27b5d786943bdc058bdae54b1bde78613b.tar.xz
cmd/compile: make more use of value switches
Use them to replace if/else chains with at least three comparisons, where the code becomes clearly simpler. Passes toolstash -cmp on std cmd. Change-Id: Ic98aa3905944ddcab5aef5f9d9ba376853263d94 Reviewed-on: https://go-review.googlesource.com/70934 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/runtime/rt0_linux_arm.s')
0 files changed, 0 insertions, 0 deletions