mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
new intrinsic approach
This commit is contained in:
parent
bd98ac6dc7
commit
9fc832d8ef
3 changed files with 179 additions and 84 deletions
|
@ -520,7 +520,7 @@ pub fn list_range<'a, 'ctx, 'env>(
|
|||
let int_width = env
|
||||
.context
|
||||
.i8_type()
|
||||
.const_int(crate::llvm::build::IntWidth::from(builtin) as u64, false)
|
||||
.const_int(crate::llvm::build::intwidth_from_builtin(builtin, env.ptr_bytes) as u64, false)
|
||||
.into();
|
||||
|
||||
call_bitcode_fn(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue