1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:04:42 -07:00
go/ssa
Alan Donovan 33f988691e go.tools/ssa: use correct names for Captures.
Until now, the name of the captured ssa.Value, not
types.Var was used, leading to confusing disassembly
when it was a numbered register.  See:
https://code.google.com/p/go/issues/detail?id=6337

Now the output is:

# Free variables:
#   0:	a *int
#   1:	b *int
func func@6.9() int:
.0.entry:
        t0 = *b
        t1 = *a
        t2 = *b
        etc...

BUG=6337

R=crawshaw
CC=golang-dev
https://golang.org/cl/13249049
2013-09-06 09:19:34 -04:00
..
interp go.tools/importer: make loading/parsing concurrent. 2013-09-04 13:15:49 -04:00
testdata go.tools/ssa: fix bug in Program.VarValue. 2013-08-27 17:57:55 -04:00
blockopt.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
builder_test.go go.tools/importer: make loading/parsing concurrent. 2013-09-04 13:15:49 -04:00
builder.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
const.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
create.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
doc.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
dom.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
emit.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
example_test.go go.tools/importer: make loading/parsing concurrent. 2013-09-04 13:15:49 -04:00
func.go go.tools/ssa: use correct names for Captures. 2013-09-06 09:19:34 -04:00
lift.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
lvalue.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
print.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
promote.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
sanity.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
source_test.go go.tools/importer: make loading/parsing concurrent. 2013-09-04 13:15:49 -04:00
source.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
ssa.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
stdlib_test.go go.tools/importer: negate "cgo" build tag to avoid native code in "net". 2013-09-04 15:20:38 -04:00
testmain.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
util.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
visit.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00