mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
gen_wasm: Implement u128 right shift by delegating to compiler_rt
This commit is contained in:
parent
f30811baac
commit
28d6d000ec
2 changed files with 11 additions and 1 deletions
|
@ -1716,7 +1716,7 @@ impl<'a> LowLevelCall<'a> {
|
|||
backend.code_builder.i64_extend_u_i32();
|
||||
backend.code_builder.i64_shr_u();
|
||||
}
|
||||
I128 => todo!("{:?} for I128", self.lowlevel),
|
||||
I128 => self.load_args_and_call_zig(backend, "__lshrti3"), // from compiler_rt
|
||||
_ => panic_ret_type(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue