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
11ca6dca94
Add gen_compare and gen_tags to aarch CI tests
2023-10-09 15:24:37 +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
Folkert
42d324299d
fix bug in copying small bits of data (e.g. 3 bytes)
2023-10-09 15:24:34 +02:00
Folkert
66db1ce206
clippy fixes
2023-10-09 15:24:34 +02:00
Agus Zubiaga
27aab8b69a
Use X15 instead of requesting general reg
2023-10-09 15:24:34 +02:00
Agus Zubiaga
1021423e69
Use reg from StorageManager instead of XR while loading args
...
When a function returns via arg pointer, the caller sets XR (x8) to
the address where the return value goes. We were sometimes using XR
as a temporary register while loading args, which lead to a segfault
when returning.
It will now request a general available register from StorageManager
instead.
2023-10-09 15:24:33 +02:00
Folkert
905dc8cd59
pass small non-recursive tag unions via registers (like records)
2023-10-09 15:24:33 +02:00
Folkert
68dc7108bf
enable all gen_result tests for the dev backend
2023-10-09 15:24:32 +02:00
Folkert
5f9008fbcc
on x86 (systemv, haven't checked windows) pass small structs via registers
2023-10-09 15:24:32 +02:00
Folkert
052ee0cc5f
more boxing tests
2023-10-09 15:24:32 +02:00
Folkert
b410ae5642
fix arithmetic error in copy function
2023-10-09 15:24:31 +02:00
Folkert
6442dc2a94
use the proper temporary register
2023-10-09 15:24:31 +02:00
Folkert
9bf5bd4d39
128-bit structs, properly
2023-10-09 15:24:31 +02:00
Folkert
3a8d4b853b
an attempt at passing bigger values
2023-10-09 15:24:30 +02:00
Folkert
529703d449
fix data pointers
2023-10-09 15:24:30 +02:00
Folkert
ce34d5826b
on aarch64, unify data and function pointers
2023-10-09 15:24:30 +02:00
Folkert
311ae4c7a6
an attempt at function pointers
2023-10-09 15:24:29 +02:00
Luke Boswell
539b98b933
Merge pull request #5891 from roc-lang/clippy-1.73
...
Clippy 1.73
2023-10-09 21:02:53 +11:00
Folkert
94ca207772
formatting
2023-10-07 19:11:37 +02:00
Folkert
60afb79cc7
simplify regex expression strings
2023-10-07 19:11:37 +02:00
Folkert
6ab54c02e2
drop into_iter in some places
2023-10-07 19:11:36 +02:00
Folkert
e6a154765c
silence some redundant closure call warnings caused by macros
2023-10-07 19:11:36 +02:00
Folkert
9cdc49b9db
incorrect implementation of partial_cmp on an Ord type
2023-10-07 19:11:36 +02:00
Folkert
49c42f5ed8
simplify soa Clone impls
2023-10-07 19:11:35 +02:00
Folkert de Vries
028cfca596
Merge pull request #5892 from roc-lang/tutorial-unbox-fix
...
explicitly RocBox arguments when received as box
2023-10-07 18:40:48 +02:00
Folkert
acfb8d7562
explicitly RocBox arguments when received as box
2023-10-07 17:43:16 +02:00
Anton-4
f966afc23e
Merge pull request #5872 from roc-lang/repl-error-improve
...
prevent+improve repl erros
2023-10-07 15:12:56 +02:00
Anton-4
b00f25b5e4
Merge pull request #5882 from roc-lang/reqwest_cli_fix
...
force reqwest version
2023-10-03 18:29:50 +02:00
Anton-4
4c93bf96de
force reqwest version
...
This fixes the ... breaking tests before building nightlies on macos.
2023-10-03 17:24:21 +02:00
Ayaz
b66756c320
Merge pull request #5873 from roc-lang/fix-confusing-init-value-in-web-repl
...
Fix a confusing initial value in the web REPL JS
2023-10-02 04:02:45 -05:00
Brian Carroll
7646eef387
Fix a confusing initial value in the web REPL JS
2023-10-01 21:17:44 +02:00
Anton-4
d7a27acfd7
prevent+improve repl erros
2023-09-30 20:34:33 +02:00
Anton-4
7aa5fe0c6f
Merge pull request #5869 from roc-lang/agu-z/5823/where-ident
...
Allow `where` to be used as an identifier (except in type vars)
2023-09-30 19:29:46 +02:00
Agus Zubiaga
365c65caf1
Format type_annotation.rs and keyword.rs
2023-09-30 01:59:01 -03:00
Agus Zubiaga
c22c2259c0
Add type annotation in where_ident test
2023-09-30 01:53:49 -03:00
Agus Zubiaga
ebc3aab91f
Allow where to be used as an identifier (except in type vars)
2023-09-30 01:48:10 -03:00
Richard Feldman
648a02aaab
Merge pull request #5865 from roc-lang/web-repl-mobile-fix
...
Apply web repl mobile styles to larger smartphones
2023-09-28 19:35:58 -04:00