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
|
942fb37155
|
Revert unconditional branch taken
|
2023-06-16 15:27:56 -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
|
f95cef8086
|
Add llvm_alignment_bytes and memcpy function
|
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
|
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
|
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
|
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 |
|
Ayaz Hafiz
|
510b920701
|
argument_type_from_struct_layout
|
2023-06-16 10:30:41 -05:00 |
|
Ayaz Hafiz
|
c09a33f9f4
|
Inline RocStructType back in
|
2023-06-16 10:30:41 -05:00 |
|
Ayaz Hafiz
|
7b1dc7eff0
|
Update test function catcher to take records by reference
|
2023-06-16 10:30:40 -05:00 |
|
Ayaz Hafiz
|
b24a907662
|
Consistent wrapper result
|
2023-06-16 10:30:40 -05:00 |
|
Ayaz Hafiz
|
2d91225b01
|
Fix wrapper result type
|
2023-06-16 10:30:40 -05:00 |
|
Ayaz Hafiz
|
8070736cc7
|
Simplify construction of RocReturn
|
2023-06-16 10:30:40 -05:00 |
|
Ayaz Hafiz
|
9bf5f250f6
|
Get struct by pointer
|
2023-06-16 10:30:40 -05:00 |
|
Ayaz Hafiz
|
47fb9fe6f2
|
Implement struct-by-reference for structs over 4 machine words
|
2023-06-16 10:30:40 -05:00 |
|
Ayaz Hafiz
|
e1f8d68055
|
Make loading from struct a method
|
2023-06-16 10:30:39 -05:00 |
|
Ayaz Hafiz
|
bb3cfb9cd3
|
Break up arguments of insert
|
2023-06-16 10:30:39 -05:00 |
|
Ayaz Hafiz
|
c57d254205
|
No need for extra qualifier
|
2023-06-16 10:30:39 -05:00 |
|
Ayaz Hafiz
|
4d65db22d2
|
Remove scope.get
|
2023-06-16 10:30:39 -05:00 |
|
Ayaz Hafiz
|
bbef63f28f
|
Move load_symbol_and_layout to scope
|
2023-06-16 10:30:39 -05:00 |
|
Ayaz Hafiz
|
6e23365551
|
Move load_symbol to scope
|
2023-06-16 10:30:38 -05:00 |
|
Ayaz Hafiz
|
8d3d4ed9d8
|
Move LLVM scope ops to a separate module
|
2023-06-16 10:30:38 -05:00 |
|
Ayaz Hafiz
|
470ed119c2
|
Move roc struct operations to a new "struct" module
|
2023-06-16 10:30:38 -05:00 |
|
Richard Feldman
|
351a8bffe4
|
Merge pull request #5524 from roc-lang/i5482
Correctly compile add/sub/mulChecked for Dec
|
2023-06-08 23:45:06 -04:00 |
|
Ayaz Hafiz
|
81a62d3ef9
|
Clippy
|
2023-06-06 18:09:07 -05:00 |
|
Ayaz Hafiz
|
3a25ec5322
|
Correctly compile mulChecked for Dec
|
2023-06-06 17:48:42 -05:00 |
|
Ayaz Hafiz
|
25f3190d33
|
Correctly compile subChecked for Dec
|
2023-06-06 17:48:42 -05:00 |
|
Ayaz Hafiz
|
b3966a588a
|
Fix compilation of addChecked for Dec
|
2023-06-06 17:48:41 -05:00 |
|
Ayaz Hafiz
|
80a98668d5
|
Fix type errors
|
2023-06-06 16:07:51 -05:00 |
|