1
0
mirror of https://github.com/golang/go synced 2024-10-01 10:28:31 -06:00
go/oracle
Alan Donovan 8f1fdf33de go.tools/ssa: opt: improve the "unused φ-node" check to eliminate self-refs, debug-refs.
This removes about 5% of φ-nodes in one large program
and eliminates many zero-value constants.

(This does cause some Idents to no longer map to an ssa.Value.
This is observable in the oracle, whose tests are here updated.)

R=gri, gri
CC=golang-dev
https://golang.org/cl/26980043
2013-11-21 14:19:38 -05:00
..
serial go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
testdata/src go.tools/ssa: opt: improve the "unused φ-node" check to eliminate self-refs, debug-refs. 2013-11-21 14:19:38 -05:00
callees.go go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
callers.go go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
callgraph.go go.tools/oracle: make callgraph printing deterministic (and context-insensitive) 2013-11-13 09:11:10 -05:00
callstack.go go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
describe.go go.tools/oracle: show size and alignment for structs and named types. 2013-11-20 16:00:23 -05:00
freevars.go go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
implements.go go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
oracle_test.go go.tools/oracle: make callgraph printing deterministic (and context-insensitive) 2013-11-13 09:11:10 -05:00
oracle.go go.tools/oracle: use SelectionString when printing methods. 2013-11-15 12:35:11 -05:00
peers.go go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
referrers.go go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00