]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove values from const cache upon free
authorTodd Neal <todd@tneal.org>
Wed, 9 Mar 2016 04:13:20 +0000 (22:13 -0600)
committerTodd Neal <tolchz@gmail.com>
Thu, 10 Mar 2016 10:28:05 +0000 (10:28 +0000)
commit6cb2e1d015b87f4627f40d7b208b58ecb4e102e1
tree7365686a3083f82bd68c0c078e75a26bc42cf9c9
parentdbe54d23fe2b2751872aaf41d1ef3179729b9960
cmd/compile: remove values from const cache upon free

When calling freeValue for possible const values, remove them from the
cache as well.

Change-Id: I087ed592243e33c58e5db41700ab266fc70196d9
Reviewed-on: https://go-review.googlesource.com/20481
Run-TryBot: Todd Neal <tolchz@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/func.go
src/cmd/compile/internal/ssa/func_test.go