]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] initial implementation of PAUTO|PHEAP variables
authorDaniel Morsing <daniel.morsing@gmail.com>
Fri, 12 Jun 2015 13:23:29 +0000 (14:23 +0100)
committerDaniel Morsing <daniel.morsing@gmail.com>
Sun, 14 Jun 2015 20:01:03 +0000 (20:01 +0000)
commitc31b6dd0be202698a142568d8a8762db74b4516d
treed17d6098c08b8da2ba26b977a6051f8da29528ea
parentea5cd68646102e5de58eb6c5917cb1f4a6c04a84
[dev.ssa] initial implementation of PAUTO|PHEAP variables

Call to the runtime to generate escaping variables and use the returned
address when accessing these variables.

Fix a couple of errors on the way. The rule for CALLstatic was missed
during the Aux refactor and OCONVNOP wasn't converted.

Change-Id: I2096beff92cca92d648bfb6e8ec0b120f02f44af
Reviewed-on: https://go-review.googlesource.com/11072
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/ssa/gen/AMD64.rules
src/cmd/compile/internal/ssa/rewriteAMD64.go