]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove redundant anylit calls in walkcompare
authorMatthew Dempsky <mdempsky@google.com>
Thu, 26 Sep 2019 17:59:11 +0000 (10:59 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Mon, 30 Sep 2019 23:42:51 +0000 (23:42 +0000)
commitecc2d6179898a3d24a8bb0a91aca6ff84ca843d8
tree4d79bc720c219c292c83784540822b5fdea4118a
parentf91c850be62416d0aaa70e77831c8ba3e1ee2b1e
cmd/compile: remove redundant anylit calls in walkcompare

walkcompare already called walkexpr on n.Left and n.Right, which in
turn calls anylit when appropriate.

Passes toolstash-check.

Change-Id: I6912ac5a42b977c04db9d85cb2e7295e275e083d
Reviewed-on: https://go-review.googlesource.com/c/go/+/197600
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/walk.go