mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
fix things
This commit is contained in:
parent
63b1aaad4e
commit
a072d8d1b1
2 changed files with 7 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
|||
#![allow(clippy::large_enum_variant, clippy::upper_case_acronyms)]
|
||||
|
||||
use bumpalo::{collections::Vec, Bump};
|
||||
use roc_builtins::bitcode::{self, IntWidth};
|
||||
use roc_builtins::bitcode::{self, FloatWidth, IntWidth};
|
||||
use roc_collections::all::{MutMap, MutSet};
|
||||
use roc_module::ident::{ModuleName, TagName};
|
||||
use roc_module::low_level::LowLevel;
|
||||
|
@ -400,21 +400,21 @@ where
|
|||
}
|
||||
LowLevel::NumAcos => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::NUM_ACOS[IntWidth::I64].to_string(),
|
||||
bitcode::NUM_ACOS[FloatWidth::F64].to_string(),
|
||||
args,
|
||||
arg_layouts,
|
||||
ret_layout,
|
||||
),
|
||||
LowLevel::NumAsin => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::NUM_ASIN[IntWidth::I64].to_string(),
|
||||
bitcode::NUM_ASIN[FloatWidth::F64].to_string(),
|
||||
args,
|
||||
arg_layouts,
|
||||
ret_layout,
|
||||
),
|
||||
LowLevel::NumAtan => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::NUM_ATAN[IntWidth::I64].to_string(),
|
||||
bitcode::NUM_ATAN[FloatWidth::F64].to_string(),
|
||||
args,
|
||||
arg_layouts,
|
||||
ret_layout,
|
||||
|
@ -473,7 +473,7 @@ where
|
|||
}
|
||||
LowLevel::NumRound => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::NUM_ROUND[IntWidth::I64].to_string(),
|
||||
bitcode::NUM_ROUND[FloatWidth::F64].to_string(),
|
||||
args,
|
||||
arg_layouts,
|
||||
ret_layout,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue