tinygo/src
Ayke van Laethem 65d65c1313 wasm: fix GC scanning of allocas
Scanning of allocas was entirely broken on WebAssembly. The code
intended to do this was never run. There were also no tests.

Looking into this further, I found that it is actually not really
necessary to do that: the C stack can be scanned conservatively and in
fact this was already done for goroutine stacks (because they live on
the heap and are always referenced). It wasn't done for the system stack
however.

With these fixes, I believe code should be both faster *and* more
correct.

I found this in my work to get opaque pointers supported in LLVM 15,
because the code that was never reached now finally got run and was
actually quite buggy.
2022-10-19 18:36:53 +02:00
..
crypto nrf: make GetRNG available to all chips 2022-09-17 06:08:54 +02:00
device all: rename assembly files to .S extension 2022-08-04 15:43:42 +02:00
examples machine/usb: rename 'New()' to 'Port()' to have the API better match the singleton that is actually being returned 2022-10-17 14:46:18 +02:00
internal wasm: do not allow undefined symbols 2022-09-08 08:25:27 +02:00
machine machine/usb: add back New() with deprecation comment to use Port() instead 2022-10-17 14:46:18 +02:00
net net: implement Pipe 2022-10-18 07:50:31 +02:00
os Add ErrProcessDone error 2022-08-09 09:18:49 +02:00
reflect reflect: implement CanInterface and fix string Index() 2022-09-01 21:42:22 +02:00
runtime wasm: fix GC scanning of allocas 2022-10-19 18:36:53 +02:00
sync sync: implement map.LoadAndDelete 2022-09-02 11:48:01 +02:00
syscall darwin: fix syscall.Open on darwin/arm64 2022-10-13 21:07:38 +02:00
testing Print PASS on pass when running standalone test binaries (#3229) 2022-10-19 09:46:43 +02:00