diff --git a/src/cmd/compile/internal/ssa/regalloc.go b/src/cmd/compile/internal/ssa/regalloc.go index 65c25dfc5ac..909ccf41d4e 100644 --- a/src/cmd/compile/internal/ssa/regalloc.go +++ b/src/cmd/compile/internal/ssa/regalloc.go @@ -2065,7 +2065,7 @@ func (s *regAllocState) computeLive() { // Propagate backwards to the start of the block // Assumes Values have been scheduled. - phis := phis[:0] + phis = phis[:0] for i := len(b.Values) - 1; i >= 0; i-- { v := b.Values[i] live.remove(v.ID)