tools/go
Alan Donovan 94d1589bd2 go.tools/go/pointer: fix objectNode() bug causing it to return nil spuriously.
It was making the unsound assumption that cgn==nil => v is one
of {Global,Function,Const,Capture} to avoid checking v's type,
which is what it now does.  This caused more expensive
constraints to be generated, which is suboptimal though not
wrong exactly.

In one benchmark, this change reduces the number of complex
constraints by about 23% of loads and 53% of stores, and
increases the number of (simple) copy constraints by about 5%.

LGTM=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/106940043
2014-06-11 13:19:52 -04:00
..
callgraph go/callgraph: fix asymptote trap in DeleteSyntheticNodes. 2014-05-08 14:03:06 -04:00
exact go.tools/go/types: fix float32 conversions 2014-06-11 09:12:52 -07:00
gccgoimporter go.tools/go/gccgoimporter: use gccgo -dumpversion 2014-04-17 13:40:42 -07:00
gcimporter go.tools/go/types: internal cleanups 2014-02-20 14:52:21 -08:00
importer go.tools/go/importer: record low-level encoding format 2014-03-31 09:49:52 -07:00
loader go.tools/go/loader: enable cgo processing of files that import "C". 2014-06-11 13:16:51 -04:00
pointer go.tools/go/pointer: fix objectNode() bug causing it to return nil spuriously. 2014-06-11 13:19:52 -04:00
ssa go/ssa: add Node interface: common parts of Value+Instruction, plus Operands/Referrers. 2014-06-11 13:14:06 -04:00
types go.tools/ssa: create thunks for method expressions T.f. 2014-06-11 13:10:26 -04:00
vcs go.tools: fix various minor issues found by go vet 2014-05-19 08:47:28 -07:00