Skip to content

Commit 5834ce1

Browse files
cuiweixierandall77
authored andcommitted
cmd/compile/internal/ssa: unnecessary loop break
Change-Id: I32860a36b4acf5412c20bac2e8ebbb3965b796fe GitHub-Last-Rev: c007639 GitHub-Pull-Request: #43617 Reviewed-on: https://go-review.googlesource.com/c/go/+/282832 Reviewed-by: Keith Randall <[email protected]> Run-TryBot: Keith Randall <[email protected]> Trust: Cherry Zhang <[email protected]>
1 parent 691db37 commit 5834ce1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cmd/compile/internal/ssa/likelyadjust.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ func likelyadjust(f *Func) {
222222
if opcodeTable[v.Op].call {
223223
local[b.ID] = blCALL
224224
certain[b.ID] = max8(blCALL, certain[b.Succs[0].b.ID])
225+
break
225226
}
226227
}
227228
}

0 commit comments

Comments
 (0)