]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: steal escape analysis info when inlining
authorDaniel Morsing <daniel.morsing@gmail.com>
Mon, 18 Mar 2013 21:22:35 +0000 (22:22 +0100)
committerDaniel Morsing <daniel.morsing@gmail.com>
Mon, 18 Mar 2013 21:22:35 +0000 (22:22 +0100)
commit2667dcd113545593f785ca928d91161444248101
tree7716881088fc40e8085df2cde2311fe5bf7a980e
parent725519902f005260f55c6248fdc70d890d754fdb
cmd/gc: steal escape analysis info when inlining

Usually, there is no esc info when inlining, but there will be when generating inlined wrapper functions.

If we don't use this information, we get invalid addresses on the stack.

Fixes #5056.

R=golang-dev, rsc
CC=golang-dev, remyoudompheng
https://golang.org/cl/7850045
src/cmd/gc/inl.c
test/fixedbugs/issue5056.go [new file with mode: 0644]