tools/ssa/interp
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
..
testdata go.tools/ssa: build a separate Function for each init() func. 2013-10-14 14:08:23 -04:00
external.go go.tools/ssa/interp: capture stdout/err of target programs and check for "BUG". 2013-10-08 14:35:39 -04:00
external_plan9.go go.tools/ssa/interp: capture stdout/err of target programs and check for "BUG". 2013-10-08 14:35:39 -04:00
external_unix.go go.tools/ssa/interp: capture stdout/err of target programs and check for "BUG". 2013-10-08 14:35:39 -04:00
external_windows.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
interp.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
interp_test.go go.tools/importer: expose CreatePackage method. 2013-10-10 12:37:49 -04:00
map.go go.tools/ssa/interp: fixes to equivalence relations. 2013-09-16 15:22:19 -04:00
ops.go go.tools/importer: change type of print{,ln} built-ins. 2013-10-10 13:33:29 -04:00
reflect.go go.tools/go/types: separate package descriptor from package object 2013-09-13 09:52:57 -07:00
value.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00