1
0
mirror of https://github.com/golang/go synced 2024-10-01 09:38:36 -06:00
go/oracle
Alan Donovan 7aabe2e113 go.tools/ssa: build a separate Function for each init() func.
Before, we would concatenate all the init() blocks together,
resulting in incorrect treatment of a recovered panic in one
init block: the implicit return would cause the subsequent ones
to be skipped.

The result is simpler, and closer to what gc does.

The additional functions are visible in the call graph,
so some tests required updating.

R=gri
CC=crawshaw, golang-dev
https://golang.org/cl/14671044
2013-10-14 14:08:23 -04:00
..
serial go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
testdata/src go.tools/ssa: build a separate Function for each init() func. 2013-10-14 14:08:23 -04: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/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
callstack.go go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
describe.go go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04: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: clear DeclarationErrors flag; it's redundant w.r.t go/types checking. 2013-10-08 10:34:36 -04:00
oracle.go go.tools/pointer: minor API simplifications. 2013-09-30 12:39:54 -04: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