]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix build
authorKeith Randall <khr@golang.org>
Wed, 18 May 2016 20:28:48 +0000 (13:28 -0700)
committerKeith Randall <khr@golang.org>
Wed, 18 May 2016 20:44:00 +0000 (20:44 +0000)
commit075880a8e8f6363a554c100ad09a85d108953eea
treeed680af2f093fd69253ab1860fa45a34cc7148bf
parent6ab45c09f6fc1bde56e3a72e50505b9a5021aaaf
cmd/compile: fix build

Run live vars test only on ssa builds.
We can't just drop KeepAlive ops during regalloc.  We need
to replace them with copies.

Change-Id: Ib4b3b1381415db88fdc2165fc0a9541b73ad9759
Reviewed-on: https://go-review.googlesource.com/23225
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/regalloc.go
test/fixedbugs/issue15277.go