aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2016-04-20 21:46:39 -0700
committerKeith Randall <khr@golang.org>2016-04-21 06:29:21 +0000
commite48434887e568fa96800a0dff36ab45bc844ea04 (patch)
tree2a76c53476f62b5855b54c63ec3bf1b22c19f7ab /src
parent7e460e70d90295cf08ea627c0a0fff170aba5518 (diff)
downloadgo-e48434887e568fa96800a0dff36ab45bc844ea04.tar.xz
cmd/compile: fix ssa/check/on build
Disable phielimValue from rewrite pass for now. Change-Id: I9f3bb1f527b50bc7a21cc6b7cb89f6136efd81e8 Reviewed-on: https://go-review.googlesource.com/22335 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/compile/internal/ssa/rewrite.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/ssa/rewrite.go b/src/cmd/compile/internal/ssa/rewrite.go
index c2f8ceadaf..9c625825b9 100644
--- a/src/cmd/compile/internal/ssa/rewrite.go
+++ b/src/cmd/compile/internal/ssa/rewrite.go
@@ -40,8 +40,6 @@ func applyRewrite(f *Func, rb func(*Block) bool, rv func(*Value, *Config) bool)
}
curb = nil
for _, v := range b.Values {
- change = phielimValue(v) || change
-
// Eliminate copy inputs.
// If any copy input becomes unused, mark it
// as invalid and discard its argument. Repeat