mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-01 10:52:18 +00:00
add more Num.bytesTo* functions
This commit is contained in:
parent
785da377c8
commit
e6964536b2
12 changed files with 308 additions and 60 deletions
|
@ -1611,6 +1611,8 @@ impl<'a> LowLevelCall<'a> {
|
|||
},
|
||||
NumBytesToU16 => self.load_args_and_call_zig(backend, bitcode::NUM_BYTES_TO_U16),
|
||||
NumBytesToU32 => self.load_args_and_call_zig(backend, bitcode::NUM_BYTES_TO_U32),
|
||||
NumBytesToU64 => self.load_args_and_call_zig(backend, bitcode::NUM_BYTES_TO_U64),
|
||||
NumBytesToU128 => self.load_args_and_call_zig(backend, bitcode::NUM_BYTES_TO_U128),
|
||||
NumBitwiseAnd => {
|
||||
self.load_args(backend);
|
||||
match CodeGenNumType::from(self.ret_layout) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue