tools/go/pointer
Alan Donovan 829d52f2e8 go.tools/go/callgraph: simplifications to API.
1) We remove context sensitivity from API.  The pointer analysis is
   not sufficiently context-sensitive for the context information to
   be worth exposing.  (The actual analysis precision still benefits
   from being context-sensitive, though.)  Since all clients would
   discard the context info, we now do that for them.
2) Make the graph doubly-linked.  Edges are now shared by the Nodes
   at both ends of the edge so it's possible to navigate more easily
   (e.g. to the callers).
3) Graph and Node are now concrete, not interfaces.

Less code in every file!

LGTM=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/66460043
2014-02-20 11:57:48 -05:00
..
testdata go.tools/pointer: implement (*reflect.rtype).MethodByName for abstract methods. 2014-02-12 12:45:55 -05:00
TODO go.tools: rename packages. 2014-01-16 09:33:58 -05:00
analysis.go go.tools/go/callgraph: simplifications to API. 2014-02-20 11:57:48 -05:00
api.go go.tools/go/callgraph: simplifications to API. 2014-02-20 11:57:48 -05:00
callgraph.go go.tools/go/callgraph: simplifications to API. 2014-02-20 11:57:48 -05:00
doc.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
example_test.go go.tools/go/callgraph: simplifications to API. 2014-02-20 11:57:48 -05:00
gen.go go.tools/go/callgraph: simplifications to API. 2014-02-20 11:57:48 -05:00
intrinsics.go go.tools/go/callgraph: simplifications to API. 2014-02-20 11:57:48 -05:00
labels.go go.tools/go/callgraph: simplifications to API. 2014-02-20 11:57:48 -05:00
pointer_test.go go.tools/go/callgraph: simplifications to API. 2014-02-20 11:57:48 -05:00
print.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
reflect.go go.tools/pointer: opt: type-based label tracking reduces solver time by up to 75%. 2014-02-18 12:40:44 -08:00
solve.go go.tools/pointer: opt: type-based label tracking reduces solver time by up to 75%. 2014-02-18 12:40:44 -08:00
util.go go.tools/pointer: opt: type-based label tracking reduces solver time by up to 75%. 2014-02-18 12:40:44 -08:00