tinygo/testdata
Ayke van Laethem 6c6a43310a
compiler: fix invalid incoming block in complex typeassert flow
A single *ssa.BasicBlock may be split in multiple LLVM basic blocks due
to typeassert instructions. This means the incoming block and outgoing
block are different. PHI nodes need to get the result from the outgoing
block, which was fixed before, but incoming branches need to branch to
the incoming block, not the outgoing block.

Branching to the outgoing block led to a LLVM verification error when
compiling the fmt package.

Originally found in (*fmt.pp).handleMethods.
2018-10-23 15:00:37 +02:00
..
binop.go compiler: implement comparing structs directly 2018-10-23 13:27:18 +02:00
binop.txt compiler: implement comparing structs directly 2018-10-23 13:27:18 +02:00
calls.go compiler: implement deferring of immediately-applied closures 2018-10-22 14:06:51 +02:00
calls.txt compiler: implement deferring of immediately-applied closures 2018-10-22 14:06:51 +02:00
coroutines.go main: add coroutine/sleep tests 2018-09-29 00:11:58 +02:00
coroutines.txt main: add coroutine/sleep tests 2018-09-29 00:11:58 +02:00
float.go compiler: add complex manipulation 2018-10-22 13:49:03 +02:00
float.txt compiler: add complex manipulation 2018-10-22 13:49:03 +02:00
interface.go compiler: fix invalid incoming block in complex typeassert flow 2018-10-23 15:00:37 +02:00
interface.txt compiler: fix invalid incoming block in complex typeassert flow 2018-10-23 15:00:37 +02:00
map.go compiler: support comma-ok in map lookup 2018-10-20 17:54:16 +02:00
map.txt compiler: support comma-ok in map lookup 2018-10-20 17:54:16 +02:00
print.go testdata: go fmt 2018-10-23 13:24:18 +02:00
print.txt compiler: add complex manipulation 2018-10-22 13:49:03 +02:00
slice.go compiler: compare slice against nil 2018-10-20 17:22:51 +02:00
slice.txt compiler: compare slice against nil 2018-10-20 17:22:51 +02:00
structexpand.go testdata: add better tests for struct expanding 2018-09-25 14:24:44 +02:00
structexpand.txt testdata: add better tests for struct expanding 2018-09-25 14:24:44 +02:00