tools/ssa/interp
Alan Donovan f3eb05bcef go.tools/ssa: eliminate (non-nil) slice constants.
go/types no longer reports a constant value for a slice,
e.g. []byte("foo").

ssa.Const no longer support slice constants, only
bool/string/numeric and nil.

emitConv emits a Convert instruction for string->[]byte
conversions.

Added regression test for bug 6949.

R=gri
CC=golang-codereviews
https://golang.org/cl/50590043
2014-01-13 16:45:46 -05:00
..
testdata go.tools/ssa: eliminate (non-nil) slice constants. 2014-01-13 16:45:46 -05:00
external.go go.tools/ssa/interp: fix Plan 9 build for Brad 2013-12-20 15:20:51 -08:00
external_plan9.go go.tools/ssa/interp: fix Plan 9 build for Brad 2013-12-20 15:20:51 -08:00
external_unix.go go.tools/ssa/interp: fix Plan 9 build for Brad 2013-12-20 15:20:51 -08:00
external_windows.go go.tools/ssa/interp: fix Plan 9 build for Brad 2013-12-20 15:20:51 -08:00
interp.go go.tools/ssa: use correct word size for GOARCH during type checking, interpretation. 2014-01-08 14:46:17 -05:00
interp_test.go go.tools/ssa: fix crash in SSA builder when using GCImporter to satisfy imports (ssadump -build=G). 2014-01-09 14:11:54 -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: eliminate (non-nil) slice constants. 2014-01-13 16:45:46 -05:00
reflect.go go.tools/ssa: use correct word size for GOARCH during type checking, interpretation. 2014-01-08 14:46:17 -05:00
value.go go.tools/ssa/interp: improve print() on interfaces, and log message for panic. 2013-11-05 13:03:14 -05:00