mirror of https://github.com/golang/go.git
cmd/compile: remove go115flagallocdeadcode
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>
This commit is contained in:
parent
ea37a65af6
commit
91b7619310
|
|
@ -191,11 +191,6 @@ func flagalloc(f *Func) {
|
||||||
b.FlagsLiveAtEnd = end[b.ID] != nil
|
b.FlagsLiveAtEnd = end[b.ID] != nil
|
||||||
}
|
}
|
||||||
|
|
||||||
const go115flagallocdeadcode = true
|
|
||||||
if !go115flagallocdeadcode {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// Remove any now-dead values.
|
// Remove any now-dead values.
|
||||||
// The number of values to remove is likely small,
|
// The number of values to remove is likely small,
|
||||||
// and removing them requires processing all values in a block,
|
// and removing them requires processing all values in a block,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue