tinygo/testdata
Ayke van Laethem 602c264749
all: rewrite goroutine lowering
Before this commit, goroutine support was spread through the compiler.
This commit changes this support, so that the compiler itself only
generates simple intrinsics and leaves the real support to a compiler
pass that runs as one of the TinyGo-specific optimization passes.

The biggest change, that was done together with the rewrite, was support
for goroutines in WebAssembly for JavaScript. The challenge in
JavaScript is that in general no blocking operations are allowed, which
means that programs that call time.Sleep() but do not start goroutines
also have to be scheduled by the scheduler.
2019-01-21 22:09:33 +01:00
..
cgo cgo: add package directory to header include paths 2018-12-10 15:38:03 +01:00
binop.go compiler: fix binops on named types in struct fields 2018-11-24 22:13:01 +01:00
binop.txt compiler: implement array equality 2018-11-15 11:51:16 +01:00
calls.go compiler: implement deferring of interface calls 2018-11-03 20:21:43 +01:00
calls.txt compiler: implement deferring of interface calls 2018-11-03 20:21:43 +01:00
coroutines.go all: rewrite goroutine lowering 2019-01-21 22:09:33 +01:00
coroutines.txt all: rewrite goroutine lowering 2019-01-21 22:09:33 +01:00
float.go compiler: fix float <-> int conversions 2018-11-03 12:20:55 +01:00
float.txt compiler: fix float <-> int conversions 2018-11-03 12:20:55 +01:00
gc.go runtime: implement a simple mark/sweep garbage collector 2018-11-18 19:18:39 +01:00
gc.txt runtime: implement a simple mark/sweep garbage collector 2018-11-18 19:18:39 +01:00
init.go interp: add new compile-time package initialization interpreter 2018-11-04 18:40:51 +01:00
init.txt interp: add new compile-time package initialization interpreter 2018-11-04 18:40:51 +01:00
init_multi.go testdata: add more test cases in testdata 2018-10-25 20:37:35 +02:00
init_multi.txt testdata: add more test cases in testdata 2018-10-25 20:37:35 +02:00
interface.go compiler: lower interfaces in a separate pass 2018-12-01 13:26:06 +01:00
interface.txt compiler: fix invalid incoming block in complex typeassert flow 2018-10-23 15:00:37 +02:00
map.go compiler: implement operations on nil hashmaps 2018-10-27 00:57:37 +02:00
map.txt compiler: implement operations on nil hashmaps 2018-10-27 00:57:37 +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: allow slicing arrays of a named type 2019-01-04 15:55:57 +01: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