From c0076390168b2425a1e2c30ea2e9ac32fb4c3365 Mon Sep 17 00:00:00 2001 From: cui Date: Sun, 10 Jan 2021 14:45:57 +0800 Subject: [PATCH] cmd/compile/internal/ssa: unnecessary loop break Change-Id: I15d8abade22dcda9235b61a116d5244c6f7c73b6 --- src/cmd/compile/internal/ssa/likelyadjust.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/compile/internal/ssa/likelyadjust.go b/src/cmd/compile/internal/ssa/likelyadjust.go index 49898a1322b..f462bf29a64 100644 --- a/src/cmd/compile/internal/ssa/likelyadjust.go +++ b/src/cmd/compile/internal/ssa/likelyadjust.go @@ -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 } } }