]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: fix liveness for address-taken variables in inlined functions
authorRuss Cox <rsc@golang.org>
Tue, 3 Jun 2014 01:26:32 +0000 (21:26 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 3 Jun 2014 01:26:32 +0000 (21:26 -0400)
commiteb54079264896a8e7bd0ea79768ea4f46c47e30a
tree57693750f65e944eae65515d0a84106e06b96b45
parentd646040fd13b79f811c85bc7280a71c3493419ec
cmd/gc: fix liveness for address-taken variables in inlined functions

The 'address taken' bit in a function variable was not
propagating into the inlined copies, causing incorrect
liveness information.

LGTM=dsymonds, bradfitz
R=golang-codereviews, bradfitz
CC=dsymonds, golang-codereviews, iant, khr, r
https://golang.org/cl/96670046
src/cmd/gc/inl.c
test/live.go
test/live2.go [new file with mode: 0644]