]> Cypherpunks repositories - gostls13.git/commit
exp/ssa: make Parameters values, not addresses.
authorAlan Donovan <adonovan@google.com>
Tue, 29 Jan 2013 15:49:16 +0000 (10:49 -0500)
committerAlan Donovan <adonovan@google.com>
Tue, 29 Jan 2013 15:49:16 +0000 (10:49 -0500)
commitaa0b573ad610ea659902c8a54183e9fa30d8380e
tree0cee0cb89ca6fffef8a1b5bbb76d77065f0a28bd
parent81221f512d6ad8c15491b3ab29ea3fa3db800466
exp/ssa: make Parameters values, not addresses.

We explicitly spill all parameters to the frame during initial
SSA construction.  (Later passes will remove spills.)
We now properly handle local Allocs escaping via Captures.

Also: allocate BasicBlock.Succs inline.

R=iant, iant
CC=golang-dev
https://golang.org/cl/7231050
src/pkg/exp/ssa/blockopt.go
src/pkg/exp/ssa/func.go
src/pkg/exp/ssa/ssa.go