Remove its 'name' field and treat it just like any other ssa.Register: it gets a temp name like "t1". Instead, give it a comment field holding its purpose, e.g, "x" for a source-level vare, or "new", "slicelit", "complit" or "varargs". This improves usability of tools whose UI needs to refer to a particular allocation site. R=gri CC=golang-dev https://golang.org/cl/12273043 |
||
|---|---|---|
| .. | ||
| importer.go | ||
| pkginfo.go | ||
| source.go | ||
| source_test.go | ||
| util.go | ||