tinygo/src
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
..
device arm: provide intrinsics to disable/enable interrupts 2019-02-23 18:52:49 +01:00
examples Remove microbit matrix (#319) 2019-05-05 16:25:50 +02:00
machine Remove microbit matrix (#319) 2019-05-05 16:25:50 +02:00
os all: pretend to be linux/arm in baremetal targets 2019-03-23 22:58:26 +01:00
reflect all: check formatting on CI 2019-04-13 19:58:58 +02:00
runtime compiler: allow larger-than-int values to be sent across a channel 2019-05-05 16:46:50 +02:00
sync sync: implement dummy sync.Pool for fmt 2018-10-20 15:52:41 +02:00
syscall darwin: use custom syscall pkg that uses libsystem 2019-04-05 09:53:51 +02:00