tools/go/pointer
Alan Donovan f011631cea go/ssa: simplify TypesWithMethodSets
Details:
- rename (*Program).TypesWithMethodSets() to RuntimeTypes()
- delete (*Package).TypesWithMethodSets() method and simplify
- move code to methods.go
- update test to use

1-2% improvement in space and time (though I barely trust this data
because the GC at tip is in such terrible state).

Change-Id: I38eab78b11e0ad0ff16e0530e775b6ff6a2ab246
Reviewed-on: https://go-review.googlesource.com/3148
Reviewed-by: Robert Griesemer <gri@golang.org>
2015-01-22 14:03:32 +00:00
..
testdata go/pointer: fix two crashes caused by 'print()'. 2014-11-20 13:33:20 -05:00
TODO go.tools/go/pointer: eliminate TODOs regarding sound treatment of unsafe.Pointer. 2014-07-08 10:11:36 -04:00
analysis.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
api.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
callgraph.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
constraint.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
doc.go tools: add import comments. 2014-12-09 22:42:16 +00:00
example_test.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
gen.go go/ssa: simplify TypesWithMethodSets 2015-01-22 14:03:32 +00:00
hvn.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
intrinsics.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
labels.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
opt.go go/pointer: implement pointer equivalence via hash-value numbering, a pre-solver optimization. 2014-06-16 15:46:07 -04:00
pointer_test.go go/types: modify Eval, EvalNode to return a TypeAndValue 2014-12-30 17:21:45 +00:00
print.go go/pointer: implement pointer equivalence via hash-value numbering, a pre-solver optimization. 2014-06-16 15:46:07 -04:00
reflect.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
solve.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
stdlib_test.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
util.go go/types: expose IsInterface predicate, eliminating 6 copies 2015-01-21 18:49:27 +00:00