Commit graph

6471 commits

Author SHA1 Message Date
Brendan Hansknecht
50ba3071e1
disable list drop specialization 2024-07-15 17:04:32 -07:00
Anton-4
7a288dd53b
Merge pull request #6893 from roc-lang/basic-cli-12-update
DO NOT MERGE YET update to basic-cli 0.12
2024-07-15 22:48:00 +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
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
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
Brendan Hansknecht
c5c2617596
clippy 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
2cd0d51409
add RocRefcounted to RocBox 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
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
Brendan Hansknecht
d0b564360b
correct low level calling for list incref/decref 2024-07-13 10:39:54 -07:00
Brendan Hansknecht
23154c41aa
Revert "start correct list refcount function generation"
This reverts commit a8b4d0ef7f492215ce2228a34c6046c4790cc6db.
2024-07-13 10:39:54 -07:00
Brendan Hansknecht
e92cf1be42
Revert "attempt to correct list refcount generation in dev backends"
This reverts commit 0854a1a53a2db441c648140bdd24de91125ec645.
2024-07-13 10:39:54 -07:00
Brendan Hansknecht
175255cf86
remove accidental .zig-cache 2024-07-13 10:39:54 -07:00
Brendan Hansknecht
36bc8bfac4
attempt to correct list refcount generation in dev backends 2024-07-13 10:39:54 -07:00
Brendan Hansknecht
94fe0820d5
start correct list refcount function generation 2024-07-13 10:39:54 -07:00
Brendan Hansknecht
61784629e7
update todos around list refcount func generation 2024-07-13 10:39:54 -07:00