From 91b7619310cc05c2ffa3fa558f041a3b3cf6e948 Mon Sep 17 00:00:00 2001 From: Cherry Zhang Date: Wed, 21 Oct 2020 21:09:57 -0400 Subject: [PATCH] cmd/compile: remove go115flagallocdeadcode Change-Id: Iafd72fb06a491075f7f996a6684e0d495c96aee5 Reviewed-on: https://go-review.googlesource.com/c/go/+/264342 Trust: Cherry Zhang Reviewed-by: Keith Randall --- src/cmd/compile/internal/ssa/flagalloc.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/cmd/compile/internal/ssa/flagalloc.go b/src/cmd/compile/internal/ssa/flagalloc.go index d50b615912..61c45a6be7 100644 --- a/src/cmd/compile/internal/ssa/flagalloc.go +++ b/src/cmd/compile/internal/ssa/flagalloc.go @@ -191,11 +191,6 @@ func flagalloc(f *Func) { b.FlagsLiveAtEnd = end[b.ID] != nil } - const go115flagallocdeadcode = true - if !go115flagallocdeadcode { - return - } - // Remove any now-dead values. // The number of values to remove is likely small, // and removing them requires processing all values in a block, -- 2.50.0