]> Cypherpunks repositories - gostls13.git/commit
exp/ssa: add Instruction.Operands and Value.Referrers methods.
authorAlan Donovan <adonovan@google.com>
Wed, 13 Feb 2013 05:15:07 +0000 (00:15 -0500)
committerAlan Donovan <adonovan@google.com>
Wed, 13 Feb 2013 05:15:07 +0000 (00:15 -0500)
commit928fe516616f6a9acae814acd90c00209029f99d
treea87ed9fb64cfd10180fd4f1193f3a98610895835
parent27970af5c9a90e1b50026b4ff003064ff9d04920
exp/ssa: add Instruction.Operands and Value.Referrers methods.

Operands returns the SSA values used by an instruction.
Referrers returns the SSA instructions that use a value, for
some values.  These will be used for SSA renaming, to follow.

R=iant, gri
CC=golang-dev
https://golang.org/cl/7312090
src/pkg/exp/ssa/func.go
src/pkg/exp/ssa/interp/interp.go
src/pkg/exp/ssa/literal.go
src/pkg/exp/ssa/ssa.go