mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
wasm backend: mulWrap for i128
This commit is contained in:
parent
2aca07d889
commit
91079d3844
1 changed files with 1 additions and 2 deletions
|
@ -1014,8 +1014,7 @@ impl<'a> LowLevelCall<'a> {
|
|||
NumMulWrap => match self.ret_layout_raw {
|
||||
Layout::Builtin(Builtin::Int(width)) => match width {
|
||||
IntWidth::I128 | IntWidth::U128 => {
|
||||
// TODO: don't panic
|
||||
self.load_args_and_call_zig(backend, &bitcode::NUM_MUL_OR_PANIC_INT[width])
|
||||
self.load_args_and_call_zig(backend, &bitcode::NUM_MUL_WRAP_INT[width])
|
||||
}
|
||||
IntWidth::I64 | IntWidth::U64 => {
|
||||
self.load_args(backend);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue