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 |
||
|---|---|---|
| cmd | ||
| dashboard | ||
| go | ||
| godoc | ||
| gotype | ||
| importer | ||
| ssa | ||
| .hgignore | ||
| AUTHORS | ||
| CONTRIBUTORS | ||
| LICENSE | ||
| PATENTS | ||
| README | ||
| codereview.cfg | ||
README
This subrepository holds the source for various packages and tools that support the Go programming language. Although at least some of the tools themselves will be included in binary Go distributions, the packages from which they are built are of little interest to most Go programmers. To submit changes to this repository, see http://golang.org/doc/contribute.html.