tools/go/pointer
Alan Donovan 28104d2c91 go.tools/go/pointer: remove context-sensitivity from API.
Previously, each {Indirect,}Query would return a set of Pointers, one per context; now it returns (at most) one Pointer combining information from all contexts.

The old API was more faithful to the implementation concepts, but the analysis is not sufficiently context-sensitive that it makes sense: all existing clients simply throw away the context information---so now we do that for them.

(I may remove the context-sensitivity from the callgraph too, but I'll benchmark that first to see if it reduces precision.)

LGTM=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/66130044
2014-02-20 11:35:09 -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/pointer: remove context-sensitivity from API. 2014-02-20 11:35:09 -05:00
api.go go.tools/go/pointer: remove context-sensitivity from API. 2014-02-20 11:35:09 -05:00
callgraph.go go.tools/call: rename package to go/callgraph 2014-01-16 14:04:19 -05:00
doc.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
example_test.go go.tools/go/pointer: remove context-sensitivity from API. 2014-02-20 11:35:09 -05:00
gen.go go.tools/go/pointer: remove context-sensitivity from API. 2014-02-20 11:35:09 -05:00
intrinsics.go go.tools/pointer: opt: type-based label tracking reduces solver time by up to 75%. 2014-02-18 12:40:44 -08:00
labels.go go.tools/call: rename package to go/callgraph 2014-01-16 14:04:19 -05:00
pointer_test.go go.tools/go/pointer: remove context-sensitivity from API. 2014-02-20 11:35:09 -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