mirror of https://github.com/golang/go.git
cmd/compile: remove go115shortcircuitPhis
Change-Id: Ib2697ebfcc14a01ab1f793cddcbf69180ffc49a2 Reviewed-on: https://go-review.googlesource.com/c/go/+/264341 Trust: Cherry Zhang <cherryyz@google.com> Reviewed-by: Keith Randall <khr@golang.org>
This commit is contained in:
parent
5d9b66cdc6
commit
ea37a65af6
|
|
@ -261,11 +261,6 @@ func shortcircuitBlock(b *Block) bool {
|
|||
// and the CFG modifications must not proceed.
|
||||
// The returned function assumes that shortcircuitBlock has completed its CFG modifications.
|
||||
func shortcircuitPhiPlan(b *Block, ctl *Value, cidx int, ti int64) func(*Value, int) {
|
||||
const go115shortcircuitPhis = true
|
||||
if !go115shortcircuitPhis {
|
||||
return nil
|
||||
}
|
||||
|
||||
// t is the "taken" branch: the successor we always go to when coming in from p.
|
||||
t := b.Succs[ti].b
|
||||
// u is the "untaken" branch: the successor we never go to when coming in from p.
|
||||
|
|
|
|||
Loading…
Reference in New Issue