1
0
mirror of https://github.com/golang/go synced 2024-11-19 03:14:42 -07:00
go/ssa/interp
Alan Donovan 19dd02b670 go.tools/ssa: fix bug in SSA lifting (!)
The previous code introduced spurious loop-carried
dependencies for variables local to a loop body (for example).
The SSA renaming pass now treats an Alloc instruction like a
Store of the zero value.

Also:
- added regression test
- improved log messages
- made the Store/Load/Alloc cases look more similar.

R=gri, gri
CC=golang-dev
https://golang.org/cl/26750043
2013-11-14 17:33:07 -05:00
..
testdata go.tools/ssa: fix bug in SSA lifting (!) 2013-11-14 17:33:07 -05: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
external.go go.tools/ssa: clarify spec of (*builder).complit(). 2013-10-31 17:59:52 -04:00
interp_test.go go.tools/ssa/interp: fix build breakage. 2013-11-13 18:50:24 -05:00
interp.go go.tools/ssa/interp: improve print() on interfaces, and log message for panic. 2013-11-05 13:03:14 -05:00
map.go go.tools/ssa/interp: fixes to equivalence relations. 2013-09-16 15:22:19 -04:00
ops.go go.tools/ssa/interp: improve print() on interfaces, and log message for panic. 2013-11-05 13:03:14 -05:00
reflect.go go.tools/ssa: clarify spec of (*builder).complit(). 2013-10-31 17:59:52 -04:00
value.go go.tools/ssa/interp: improve print() on interfaces, and log message for panic. 2013-11-05 13:03:14 -05:00