]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: ignore contentEscapes for marking nodes as escaping
authorKeith Randall <khr@golang.org>
Tue, 6 Sep 2016 21:48:47 +0000 (14:48 -0700)
committerKeith Randall <khr@golang.org>
Wed, 7 Sep 2016 02:07:03 +0000 (02:07 +0000)
commit923a74ce7710c1e3b24b4cc3220e2ba38d7673af
tree778aa88205123ea93ed6a6a2b4880f5d58bfb0e6
parenta6edffb28696b739136172995ed3ec000e8e6fdb
cmd/compile: ignore contentEscapes for marking nodes as escaping

We can still stack allocate and VarKill nodes which don't
escape but their content does.

Fixes #16996

Change-Id: If8aa0fcf2c327b4cb880a3d5af8d213289e6f6bf
Reviewed-on: https://go-review.googlesource.com/28575
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/gc/esc.go
test/live.go
test/live_ssa.go