tinygo/testdata
Ayke van Laethem 9a54ee4241 compiler: allow larger-than-int values to be sent across a channel
Instead of storing the value to send/receive in the coroutine promise,
store only a pointer in the promise. This simplifies the code a lot and
allows larger value sizes to be sent across a channel.

Unfortunately, this new system has a code size impact. For example,
compiling testdata/channel.go for the BBC micro:bit, there is an
increase in code size from 4776 bytes to 4856 bytes. However, the
improved flexibility and simplicity of the code should be worth it. If
this becomes an issue, we can always refactor the code at a later time.
2019-05-05 16:46:50 +02:00
..
cgo cgo: only include the symbols that are necessary (recursively) 2019-05-01 11:33:18 +02:00
binop.go compiler: add support for comparing complex numbers 2019-02-05 17:11:09 +01:00
binop.txt compiler: add support for comparing complex numbers 2019-02-05 17:11:09 +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
channel.go compiler: allow larger-than-int values to be sent across a channel 2019-05-05 16:46:50 +02:00
channel.txt compiler: allow larger-than-int values to be sent across a channel 2019-05-05 16:46:50 +02:00
coroutines.go compiler: support returning values from async functions 2019-05-05 16:46:50 +02:00
coroutines.txt compiler: support returning values from async functions 2019-05-05 16:46:50 +02: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: support for byte arrays as keys in maps 2019-01-31 16:35:22 +01:00
map.txt compiler: support for byte arrays as keys in maps 2019-01-31 16:35:22 +01:00
math.go runtime: add support for math package 2019-02-05 19:37:21 +01:00
math.txt runtime: add support for math package 2019-02-05 19:37:21 +01: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
rangestring.go runtime: make stringNext use byteindex only, fix index offset 2019-01-27 23:31:43 +01:00
rangestring.txt runtime: make stringNext use byteindex only, fix index offset 2019-01-27 23:31:43 +01:00
reflect.go reflect: implement Value.Set*() for basic types 2019-02-05 17:11:09 +01:00
reflect.txt reflect: implement Value.Set*() for basic types 2019-02-05 17:11:09 +01:00
slice.go compiler: calculate max number of entries in slice at compile time 2019-03-05 19:25:42 +01:00
slice.txt compiler: compare slice against nil 2018-10-20 17:22:51 +02:00
stdlib.go all: support interface asserts in interp 2019-04-13 20:55:56 +02:00
stdlib.txt all: support interface asserts in interp 2019-04-13 20:55:56 +02:00
structs.go compiler: implement casting named structs and pointers to them 2019-04-06 08:32:28 +02:00
structs.txt compiler: implement casting named structs and pointers to them 2019-04-06 08:32:28 +02:00