Ayaz
ab5adaf8ef
Merge pull request #5566 from roc-lang/nix-install-mac-ci-fix
...
Update nix_macos_x86_64.yml
2023-06-17 13:44:02 -05:00
Anton-4
e3bbda6fee
Update nix_macos_x86_64.yml
...
fixes: Could not set environment: 150: Operation not permitted while System Integrity Protection is engaged
see also: https://github.com/cachix/install-nix-action/issues/183
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-06-17 19:34:02 +02:00
Anton-4
bb6f95de84
Merge pull request #5555 from KilianVounckx/num-constants
...
Add number constants
2023-06-17 16:42:28 +02:00
Anton-4
199a85a7dd
remove pending-snap file
2023-06-17 15:46:28 +02:00
Kilian Vounckx
c6d90e5c1d
Update typo error test
2023-06-17 15:40:42 +02:00
KilianVounckx
0dd8bb9841
Merge branch 'roc-lang:main' into num-constants
2023-06-17 15:09:30 +02:00
Anton-4
1c77ddf10b
Merge pull request #5563 from roc-lang/operator-tutorial-fix
...
add missing example
2023-06-17 15:04:57 +02:00
Folkert de Vries
f9ce63b529
Merge pull request #5558 from roc-lang/llvm-pass-large-values-by-reference-followup
...
Fast-follow on LLVM pass-by-reference
2023-06-17 14:52:36 +02:00
Anton-4
31d41dbccb
add missing example
...
fixes #5556
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-06-17 14:09:53 +02:00
Ayaz Hafiz
6c4f76c5c9
Pass tag target ptr rather than alloca
2023-06-16 21:06:49 -05:00
Ayaz Hafiz
a7978abdc9
Fix nullable unwrapped code generation
2023-06-16 18:11:51 -05:00
Ayaz Hafiz
465cee053e
Have RocUnion::as_struct_value return an alloca instead
...
Saves a useless store/load.
2023-06-16 17:54:17 -05:00
Ayaz Hafiz
0403509f64
Get rid of unnecessary comment
2023-06-16 17:51:47 -05:00
Ayaz Hafiz
9ecb1bbd73
Add rationale for passing values by reference
2023-06-16 17:51:13 -05:00
Ayaz
0f327d9f38
Merge pull request #5544 from roc-lang/llvm-pass-large-values-by-reference
...
Llvm pass large structs by reference
2023-06-16 16:39:11 -05:00
Ayaz Hafiz
942fb37155
Revert unconditional branch taken
2023-06-16 15:27:56 -05:00
Ayaz Hafiz
f7b5400c6e
Revert "Bump max by-value size"
...
This reverts commit e53937bba6
.
2023-06-16 15:26:09 -05:00
Ayaz Hafiz
314cc7855a
Revert "Check if benchmarks are weird"
...
This reverts commit 24e7a56f4b
.
2023-06-16 15:26:02 -05:00
Ayaz Hafiz
24e7a56f4b
Check if benchmarks are weird
2023-06-16 14:49:01 -05:00
Ayaz Hafiz
e53937bba6
Bump max by-value size
2023-06-16 12:30:31 -05:00
Ayaz Hafiz
ec38d8a16d
Clippy
2023-06-16 11:21:17 -05:00
Ayaz Hafiz
b193d6c726
Fix loads in ToNumChecked
2023-06-16 11:18:43 -05:00
Ayaz Hafiz
4f626bca53
Fix checked_dec operations
2023-06-16 11:13:18 -05:00
Ayaz Hafiz
858fbba4e1
Use larger debug stack for abilities tests
2023-06-16 11:08:10 -05:00
Ayaz Hafiz
5b0d47c9eb
Drop Layout::alignment_bytes_for_llvm
2023-06-16 10:30:44 -05:00
Ayaz Hafiz
f95cef8086
Add llvm_alignment_bytes and memcpy function
2023-06-16 10:30:44 -05:00
Brendan Hansknecht
75c290273d
allow surgical linker to work without any rodata section
2023-06-16 10:30:44 -05:00
Ayaz Hafiz
2294f6994f
TERRIBLE HACK to support x86 compilation
2023-06-16 10:30:44 -05:00
Ayaz Hafiz
5488b3a3eb
Fix mono tests
2023-06-16 10:30:44 -05:00
Ayaz Hafiz
a235055576
Turn morphic back on
2023-06-16 10:30:44 -05:00
Ayaz Hafiz
d39c8ba7be
Revert legacy struct builder
2023-06-16 10:30:43 -05:00
Ayaz Hafiz
ea6330b48b
Make sure to memcpy with correct size and alignments
2023-06-16 10:30:43 -05:00
Ayaz Hafiz
57019d5b78
Revert tag union construction with RocStruct for now
2023-06-16 10:30:43 -05:00
Folkert
05eb489b14
debug logic
2023-06-16 10:30:43 -05:00
Folkert
daaa1a3720
remove stray dbg
2023-06-16 10:30:43 -05:00
Folkert
9b0cc2a5fd
make tag union opaque space use more optimal instructions
2023-06-16 10:30:43 -05:00
Ayaz Hafiz
5ce4435911
Debug assert struct layout
2023-06-16 10:30:43 -05:00
Ayaz Hafiz
38d5ec374a
Clippy
2023-06-16 10:30:42 -05:00
Ayaz Hafiz
b5a963195b
Fix struct clone
2023-06-16 10:30:42 -05:00
Ayaz Hafiz
053816c081
Fix inc/dec for struct-by-reference
2023-06-16 10:30:42 -05:00
Ayaz Hafiz
fd485e7869
Fix roc value usage of replaceUnsafe return value
2023-06-16 10:30:42 -05:00
Ayaz Hafiz
90533bc014
Add Layout::LIST_U8
2023-06-16 10:30:42 -05:00
Ayaz Hafiz
e3e01b6040
decode_from_utf8_result as roc value
2023-06-16 10:30:42 -05:00
Ayaz Hafiz
8f9e95b482
Unused var
2023-06-16 10:30:42 -05:00
Ayaz Hafiz
74f4a2466a
Load eq_ptr_to_struct
2023-06-16 10:30:42 -05:00
Ayaz Hafiz
5dfa0b114e
Stray dbg
2023-06-16 10:30:41 -05:00
Ayaz Hafiz
879a97ee4c
Fix compare for big structs
2023-06-16 10:30:41 -05:00
Ayaz Hafiz
5c1a601074
No need for mut
2023-06-16 10:30:41 -05:00
Ayaz Hafiz
130501eb6a
layout_interner does not need to be mutable
2023-06-16 10:30:41 -05:00
Ayaz Hafiz
65ca836ecb
layout_interner does not need to be mutable
2023-06-16 10:30:41 -05:00