]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: simplify some bool expressions
authorIskander Sharipov <iskander.sharipov@intel.com>
Wed, 11 Jul 2018 20:39:49 +0000 (23:39 +0300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 22 Aug 2018 16:24:52 +0000 (16:24 +0000)
commited2f84a94e1d0903bc16974dca308a9382b596b6
treee21cc9cc422e584c33f2a3af9cb7294fd56297fe
parent9d1540b77c3965f1cbaaab753d09974ad7330380
cmd/internal/obj/arm64: simplify some bool expressions

Replace `!(o1 != 0)` with `o1 == 0` (for readability).

Found using https://go-critic.github.io/overview.html#boolExprSimplify-ref

Change-Id: I4fc035458f530973f9be15b38441ec7b5fb591ec
Reviewed-on: https://go-review.googlesource.com/123377
Run-TryBot: Iskander Sharipov <iskander.sharipov@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/internal/obj/arm64/asm7.go