tools/ssa/interp/testdata
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
..
a_test.go go.tools/ssa: don't synthesize an empty "testmain" package. 2013-11-13 16:05:13 -05:00
b_test.go go.tools/ssa: don't synthesize an empty "testmain" package. 2013-11-13 16:05:13 -05:00
boundmeth.go go.tools/ssa: (another) major refactoring of method-set logic. 2013-07-26 11:22:34 -04:00
coverage.go go.tools/ssa: eliminate (non-nil) slice constants. 2014-01-13 16:45:46 -05:00
fieldprom.go go.tools/ssa: use go/types.LookupFieldOrMethod, and simplify. 2013-07-01 15:17:36 -04:00
ifaceconv.go go.tools/ssa: tests of method promotion and of interface conversion + bugfixes. 2013-07-26 21:49:27 -04:00
ifaceprom.go go.tools/ssa: fix a package-level var initialization order bug. 2013-07-29 14:24:09 -04:00
initorder.go go.tools/ssa: fix a package-level var initialization order bug. 2013-07-29 14:24:09 -04:00
methprom.go go.tools/ssa: tests of method promotion and of interface conversion + bugfixes. 2013-07-26 21:49:27 -04:00
mrvchain.go go.tools/ssa/interp: enable tests of builtin(f()) where f has multiple results. 2013-10-04 16:52:12 -04:00
recover.go go.tools/ssa/interp: fix bug: recovered panic without NRPs should return zero values. 2013-12-05 21:22:57 -05:00