fix things

This commit is contained in:
Folkert 2021-10-20 16:56:04 +02:00
parent 63b1aaad4e
commit a072d8d1b1
2 changed files with 7 additions and 7 deletions

View file

@ -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,