From: Cherry Zhang Date: Thu, 22 Oct 2020 01:09:57 +0000 (-0400) Subject: cmd/compile: remove go115flagallocdeadcode X-Git-Tag: go1.16beta1~598 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=91b7619310cc05c2ffa3fa558f041a3b3cf6e948;p=gostls13.git cmd/compile: remove go115flagallocdeadcode Change-Id: Iafd72fb06a491075f7f996a6684e0d495c96aee5 Reviewed-on: https://go-review.googlesource.com/c/go/+/264342 Trust: Cherry Zhang Reviewed-by: Keith Randall --- 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,