Commit Graph

29041 Commits

Author SHA1 Message Date
Kiryl Dziamura
cf06d2ba35
Merge pull request #6904 from kdziamura/suffixed-tests-misleading-formatting 2024-07-15 20:05:49 +02:00
Brendan Hansknecht
1f5f0956b7
add basic_cli parsing based refcount test 2024-07-15 09:12:23 -07:00
Brendan Hansknecht
507d339691
fix infinite recursion in dev rc generation 2024-07-15 09:04:50 -07:00
Luke Boswell
45cca34c12
add impl RocRefcounted for RocResult 2024-07-15 14:33:19 +10:00
Kiryl Dziamura
1c01a8f0d3
remove measleading fmt code from snapshots 2024-07-14 09:52:01 +02:00
Brendan Hansknecht
0284248320
Merge pull request #6894 from roc-lang/list-size-on-heap
List refcounting perf fix: List size on heap
2024-07-13 19:30:56 -07:00
Anton-4
be4f687208
Merge pull request #6901 from roc-lang/wasm-repl-warnings
fix wasm repl warnings
2024-07-14 02:41:54 +02:00
Kiryl Dziamura
5907486182
Merge pull request #6900 from kdziamura/suffixed-snapshot-tests 2024-07-13 21:29:07 +02:00
Kiryl Dziamura
f3e91a104b
remove redundant dependency 2024-07-13 20:46:23 +02:00
Kiryl Dziamura
8b95816797
generate snapshots 2024-07-13 20:46:23 +02:00
Kiryl Dziamura
8949fc710b
use snapshots for suffixed tests 2024-07-13 20:46:22 +02:00
John Konecny
07bbe99bdb Added html details > summary tag support for website 2024-07-13 14:00:18 -04:00
Brendan Hansknecht
c5c2617596
clippy 2024-07-13 10:39:59 -07:00
Brendan Hansknecht
9110457480
cleanup refcount generation for record fields 2024-07-13 10:39:59 -07:00
Brendan Hansknecht
b1eb1e2971
deal with xcode version and ld_classic 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
0533578562
add missed RocRefcounted 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
3198ed5c8e
minimal generation to get glue tests passing 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
2cd0d51409
add RocRefcounted to RocBox 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
386f7a6729
update glue fixtures to new syntax 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
6da61d0d16
re-enable glue tests and add unimplemented RocRefcounted impl 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
2fd2c25c13
guard all inc and dec calls in zig by elements_refcounted to avoid noop loops 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
9052fbd09c
fix List.sublist and add some more refcounting tests 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
6e90052000
fix typo 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
8008c12a81
fix element refcounted for non-list types in dev backend 2024-07-13 10:39:57 -07:00
Brendan Hansknecht
4e8f916204
correct pointer alignment on decref 2024-07-13 10:39:57 -07:00
Brendan Hansknecht
d4b86a745b
update mono tests 2024-07-13 10:39:57 -07:00
Brendan Hansknecht
afda757433
avoid extra joinpoint and loop for list refcounting 2024-07-13 10:39:57 -07:00
Brendan Hansknecht
0d083bc192
fix dev-wasm ListGetUnsafe refcounting 2024-07-13 10:39:57 -07:00
Brendan Hansknecht
5d613cd5f5
add more refcounting test cases 2024-07-13 10:39:57 -07:00
Brendan Hansknecht
f4117c99d5
add more refcounting test cases 2024-07-13 10:39:57 -07:00
Brendan Hansknecht
675e0693a4
clarify function name 2024-07-13 10:39:57 -07:00
Brendan Hansknecht
c734a27b59
move List.map* into roc 2024-07-13 10:39:56 -07:00
Brendan Hansknecht
7d8fbfbe85
also remove inc functions from gen_dev 2024-07-13 10:39:56 -07:00
Brendan Hansknecht
8137e8aa84
add test case for List.map refcounting 2024-07-13 10:39:56 -07:00
Brendan Hansknecht
94cb4fb8ff
remove inc functions from list.map*, the closure will inc in necessary 2024-07-13 10:39:56 -07:00
Brendan Hansknecht
6712824891
correct arg mapping for inline refcounting calls 2024-07-13 10:39:56 -07:00
Brendan Hansknecht
b28e6b343a
cleanup gen_refcount and add new test based on map2 2024-07-13 10:39:56 -07:00
Brendan Hansknecht
9a020100a9
skip broken glue tests for now 2024-07-13 10:39:56 -07:00
Brendan Hansknecht
266fe4bdc8
fix zig tests 2024-07-13 10:39:56 -07:00
Brendan Hansknecht
1e04668ee4
remove ld_classic and fix dev backend missing layout 2024-07-13 10:39:56 -07:00
Brendan Hansknecht
0f7964cc9c
get runtime representation within a pointer instead of of pointers to correctly find refcount functions 2024-07-13 10:39:55 -07:00
Brendan Hansknecht
a8bef30392
fix gen_refcount tests 2024-07-13 10:39:55 -07:00
Brendan Hansknecht
ad76fa2a4e
use calloc to make wasm tests consistent 2024-07-13 10:39:55 -07:00
Brendan Hansknecht
f92d1934d4
add missing symbol in call 2024-07-13 10:39:55 -07:00
Brendan Hansknecht
ba9b15f7d6
generate elem refcount function and pass it into decref lowlevel 2024-07-13 10:39:55 -07:00
Brendan Hansknecht
516afaff41
minor arg correction 2024-07-13 10:39:55 -07:00
Brendan Hansknecht
7529883451
correct list.dropAt arguments in dev wasm 2024-07-13 10:39:55 -07:00
Brendan Hansknecht
927eff0bf4
generate indirect refcount calls in wasm backend 2024-07-13 10:39:55 -07:00
Brendan Hansknecht
0ad638b17d
minor cleanup 2024-07-13 10:39:54 -07:00
Brendan Hansknecht
b381271150
tiny bit of minor cleanup 2024-07-13 10:39:54 -07:00