]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile/internal/ssagen: conditon not need
authorcui <cuiweixie@gmail.com>
Mon, 5 Apr 2021 12:38:12 +0000 (12:38 +0000)
committerKeith Randall <khr@golang.org>
Mon, 5 Apr 2021 17:42:13 +0000 (17:42 +0000)
commit9abedf482752cac0a29c56804f7d34698aa044f2
tree3a92e6a7ddc4f3569f547c44874e323d6b7d685d
parent5cc5576a9cff098e6e47397ee32cb250de43d814
cmd/compile/internal/ssagen: conditon not need

 n.Op() == ir.OFOR so n.Op() != ir.OFORUNTIL is always true

Change-Id: I97191783c1fb31ef76e0601f626b45af1e8d316e
GitHub-Last-Rev: f68f9fecfb7adf37af060afb77d6615839aabc6e
GitHub-Pull-Request: golang/go#45389
Reviewed-on: https://go-review.googlesource.com/c/go/+/307251
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/ssagen/ssa.go