]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: remove go115flagallocdeadcode
authorCherry Zhang <cherryyz@google.com>
Thu, 22 Oct 2020 01:09:57 +0000 (21:09 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 22 Oct 2020 15:30:02 +0000 (15:30 +0000)
Change-Id: Iafd72fb06a491075f7f996a6684e0d495c96aee5
Reviewed-on: https://go-review.googlesource.com/c/go/+/264342
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/flagalloc.go

index d50b6159121b0f6864074917120109e4181f1db3..61c45a6be7b742f5e1c47fab0bbad410d9882c63 100644 (file)
@@ -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,