tinygo/testdata
Ayke van Laethem 15c7d93ea9 avr: use a garbage collector
This might sound crazy, but I think it's better to enable the GC by
default to avoid surprises. It costs 1130 bytes of flash and 16 bytes of
RAM (plus heap overhead) so it's not exactly free, but if needed it can
easily be disabled with `-gc=leaking`. On the Uno (32kB flash, 2kB RAM)
that's not massive, on the DigiSpark (8kB flash, 0.5kB RAM) that may be
too much depending on the application.
2020-01-27 19:01:55 +01:00
..
cgo cgo: add support for nested structs and unions 2019-11-08 08:38:50 +01:00
alias.go fix bug in IR regarding type aliases 2019-09-20 10:35:49 +02:00
alias.txt fix bug in IR regarding type aliases 2019-09-20 10:35:49 +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 revise defer to use heap allocations when running a variable number of times 2019-12-30 18:12:40 +01:00
calls.txt revise defer to use heap allocations when running a variable number of times 2019-12-30 18:12:40 +01:00
channel.go add blocking select 2019-11-04 09:15:21 +01:00
channel.txt add blocking select 2019-11-04 09:15:21 +01:00
coroutines.go fix miscompile of static goroutine calls to closures 2019-11-02 12:50:32 +01:00
coroutines.txt fix miscompile of static goroutine calls to closures 2019-11-02 12:50:32 +01:00
float.go compiler: implement complex division 2019-05-11 15:33:37 +02:00
float.txt compiler: implement complex division 2019-05-11 15:33:37 +02:00
gc.go avr: use a garbage collector 2020-01-27 19:01:55 +01:00
gc.txt runtime: implement a simple mark/sweep garbage collector 2018-11-18 19:18:39 +01:00
init.go interp: implement runtime.sliceCopy 2019-09-24 18:16:43 +02:00
init.txt interp: implement runtime.sliceCopy 2019-09-24 18:16:43 +02: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: fix assertion on empty interface 2019-12-26 09:20:22 +01:00
interface.txt compiler: add support for async interface calls 2019-11-17 23:46:10 +01:00
map.go compiler,runtime: implement maps for arbitrary keys 2020-01-27 08:27:14 +01:00
map.txt compiler,runtime: implement maps for arbitrary keys 2020-01-27 08:27:14 +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
reflect.go compiler: fix interface lowering miscompilation with reflect 2019-10-25 09:35:05 -04:00
reflect.txt compiler: fix interface lowering miscompilation with reflect 2019-10-25 09:35:05 -04:00
slice.go compiler: support constant indices with a named type 2019-10-01 21:31:00 +02:00
slice.txt compiler: compare slice against nil 2018-10-20 17:22:51 +02:00
stdlib.go runtime: only implement CountString for required platforms 2019-11-10 21:33:11 +01:00
stdlib.txt runtime: only implement CountString for required platforms 2019-11-10 21:33:11 +01:00
string.go compiler,runtime: implement []rune to string conversion 2019-08-11 15:45:35 +02:00
string.txt compiler,runtime: implement []rune to string conversion 2019-08-11 15:45:35 +02:00
structs.go compiler: support recursive types 2019-10-13 23:07:47 +02:00
structs.txt compiler: support recursive types 2019-10-13 23:07:47 +02:00
zeroalloc.go add code to handle programs which use heap allocations but never hit the GC 2019-11-17 15:14:51 +01:00
zeroalloc.txt add code to handle programs which use heap allocations but never hit the GC 2019-11-17 15:14:51 +01:00