Richard Feldman
c5ec8aba4f
Fix to_cc_type a bit
2023-10-17 06:40:16 -04:00
Richard Feldman
2019909922
Use concat! to break up a long string literal
2023-10-15 20:32:20 -04:00
Richard Feldman
1f1b981110
Fix for future clippy
2023-10-15 20:22:03 -04:00
Richard Feldman
f2782e94d5
clippy
2023-10-14 21:49:07 -04:00
Richard Feldman
73f3250b8f
Don't report unhelpful things.
2023-10-14 21:49:06 -04:00
Richard Feldman
08c6a044c4
Improve error handling when mono panics
2023-10-14 21:49:06 -04:00
Richard Feldman
eb135637ef
Compute total_problems rather than asking for it
2023-10-14 21:49:06 -04:00
Richard Feldman
97f252c68b
Fix shut_down_worker_threads! in presence of panic
2023-10-14 21:49:06 -04:00
Richard Feldman
8ee88ba7cb
Minor cleanups
2023-10-14 21:49:06 -04:00
Richard Feldman
a13a3231c7
Exit the process instead of deadlocking on panic
2023-10-14 21:49:05 -04:00
Isaac Van Doren
3df2ace4a6
add test_mono files
2023-10-14 15:38:31 -05:00
Isaac Van Doren
886b855594
add Str.contains to builtins
2023-10-14 14:56:51 -05:00
Richard Feldman
ebd1b16597
Choose CodeModel using roc target, not Rust target
2023-10-10 20:33:27 -04:00
Richard Feldman
b4085b1106
Merge pull request #5897 from roc-lang/dev-backend-eq-void
...
Dev backend: eq void
2023-10-10 12:45:04 -04:00
Richard Feldman
6c10a6a8aa
Merge pull request #5893 from mulias/em/list-chunks-of
...
builtin(list): add List.chunksOf
2023-10-10 09:25:10 -04:00
Folkert
ecf7066e6c
dev backend: provide a hardcoded implementation for equality on VOID
2023-10-10 14:28:43 +02:00
Folkert
beed1e3d6e
account for the tag id when doing a memcpy
2023-10-09 17:55:30 +02:00
Folkert
c0d67edfd3
cleanup
2023-10-09 15:40:28 +02:00
Folkert
b39c592bea
realize all list elements on the stack before writing to the list
2023-10-09 15:24:46 +02:00
Folkert
9118eeac0c
store registers at negative offset vs. the base pointer
2023-10-09 15:24:45 +02:00
Folkert
5368c145cd
make stack cleanup symmetric
...
we were doing things relative to the base pointer, but it got moved back to the caller's base pointer before use. this caused stack corruption
2023-10-09 15:24:45 +02:00
Folkert
7c67f8aafb
some debugging logs
2023-10-09 15:24:45 +02:00
Folkert
be2c31fe91
more detail
2023-10-09 15:24:44 +02:00
Folkert
ef64e37b9b
use stdlib functions instead of intrinsics
2023-10-09 15:24:44 +02:00
Folkert
a4e314593f
actually do not pass the shadow space size
2023-10-09 15:24:43 +02:00
Folkert
c2216dfc9f
the actual fix
2023-10-09 15:24:43 +02:00
Folkert
734cfe9bce
fix how registers are stored/loaded before a function call
2023-10-09 15:24:43 +02:00
Folkert
6510591b60
fix the order
2023-10-09 15:24:42 +02:00
Folkert
ae4df42eab
another attempt
2023-10-09 15:24:42 +02:00
Folkert
968fc04d93
an attempt
2023-10-09 15:24:42 +02:00
Folkert
11bd8445b2
load stack arguments from the right location
2023-10-09 15:24:41 +02:00
Folkert
46e8328056
add test that exhausts argument registers
2023-10-09 15:24:41 +02:00
Folkert
a03772d5cc
use x15 (and not x8) as a temp register
2023-10-09 15:24:41 +02:00
Folkert
1db7a8f2a5
simplify boolean not
2023-10-09 15:24:40 +02:00
Folkert
f39992bd8d
big base offsets
2023-10-09 15:24:40 +02:00
Folkert
aa261c4437
dev backend: correct bounds on negative jumps
2023-10-09 15:24:40 +02:00
Folkert
c749efb64c
properly return a value
...
on aarch64, returning a big value does not happen with a pointer passed as the first argument (x0). The pointer is passed in the return register (x8) instead. Just use a zig return to generate the right code in both cases
2023-10-09 15:24:39 +02:00
Folkert
ea5632c437
pass missing argument to utf8_range
2023-10-09 15:24:39 +02:00
Folkert
a8214f2d06
remove extra dereference
2023-10-09 15:24:39 +02:00
Luke Boswell
b925e6e0bc
fix dev backend symbol name length
2023-10-09 15:24:38 +02:00
Luke Boswell
6fe3a9f927
fix gen_large_when_int aarch64
2023-10-09 15:24:38 +02:00
Agus Zubiaga
b9c003afc6
Format object_builder
2023-10-09 15:24:38 +02:00
Agus Zubiaga
ad127eb395
Add undefined rc procs for LinkedData too
2023-10-09 15:24:37 +02:00
Luke Boswell
99369dec85
implement roc_panic aarch64
2023-10-09 15:24:37 +02:00
Luke Boswell
04867dc2ea
fix pass_bool_record aarch dev backend
2023-10-09 15:24:36 +02:00
Luke Boswell
7de2915fb7
WIP setjmp longjmp roc_panic aarch64 dev
2023-10-09 15:24:36 +02:00
Luke Boswell
f1e049ddc9
fix aarch macos relocation for LinkedData
2023-10-09 15:24:36 +02:00
Folkert
8414e18ffb
attach 12-bit relocation to the addition instruction
2023-10-09 15:24:35 +02:00
Folkert
e1f173fb95
fix missing data ptr relocation for aarch64
2023-10-09 15:24:35 +02:00
Folkert
82b96395e2
fix argument passing for systemv
2023-10-09 15:24:35 +02:00