mirror of
https://github.com/golang/go
synced 2024-11-23 06:40:05 -07:00
cmd/compile/internal/ssa: unnecessary loop break
Change-Id: I32860a36b4acf5412c20bac2e8ebbb3965b796fe
GitHub-Last-Rev: c007639016
GitHub-Pull-Request: golang/go#43617
Reviewed-on: https://go-review.googlesource.com/c/go/+/282832
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
Trust: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
parent
691db3737c
commit
5834ce1dd7
@ -222,6 +222,7 @@ func likelyadjust(f *Func) {
|
|||||||
if opcodeTable[v.Op].call {
|
if opcodeTable[v.Op].call {
|
||||||
local[b.ID] = blCALL
|
local[b.ID] = blCALL
|
||||||
certain[b.ID] = max8(blCALL, certain[b.Succs[0].b.ID])
|
certain[b.ID] = max8(blCALL, certain[b.Succs[0].b.ID])
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user