]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: update Bool2int to the form optimized by the compiler
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 19 Aug 2016 01:24:21 +0000 (18:24 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 19 Aug 2016 03:33:36 +0000 (03:33 +0000)
commita25a7ad70323e8edea4b607aad7c9d2bb96fcc82
tree92fcd305004f1b8306c44fd5e0499ab28e286520
parent70544c91ffac19f5ffa66c59e3097f3f1fe900f8
cmd/internal/obj: update Bool2int to the form optimized by the compiler

As of https://golang.org/cl/22711 the compiler optimizes this form.

Updates #6011

Change-Id: Ibc6c529dfa24d42f4aab78ebd6722e1d72cb6038
Reviewed-on: https://go-review.googlesource.com/27395
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/internal/obj/util.go