1
0
mirror of https://github.com/golang/go synced 2024-11-23 06:30:06 -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:
cui 2021-01-10 06:52:16 +00:00 committed by Keith Randall
parent 691db3737c
commit 5834ce1dd7

View File

@ -222,6 +222,7 @@ func likelyadjust(f *Func) {
if opcodeTable[v.Op].call {
local[b.ID] = blCALL
certain[b.ID] = max8(blCALL, certain[b.Succs[0].b.ID])
break
}
}
}