mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Have List.withCapacity lowlevel use u64 over usize
This commit is contained in:
parent
aabd95404f
commit
0b42a902ab
3 changed files with 14 additions and 18 deletions
|
@ -978,22 +978,18 @@ fn build_clone_builtin<'a, 'ctx>(
|
|||
cursors.extra_offset
|
||||
}
|
||||
|
||||
Builtin::Str => {
|
||||
//
|
||||
|
||||
call_str_bitcode_fn(
|
||||
env,
|
||||
&[value],
|
||||
&[
|
||||
ptr.into(),
|
||||
cursors.offset.into(),
|
||||
cursors.extra_offset.into(),
|
||||
],
|
||||
crate::llvm::bitcode::BitcodeReturns::Basic,
|
||||
bitcode::STR_CLONE_TO,
|
||||
)
|
||||
.into_int_value()
|
||||
}
|
||||
Builtin::Str => call_str_bitcode_fn(
|
||||
env,
|
||||
&[value],
|
||||
&[
|
||||
ptr.into(),
|
||||
cursors.offset.into(),
|
||||
cursors.extra_offset.into(),
|
||||
],
|
||||
crate::llvm::bitcode::BitcodeReturns::Basic,
|
||||
bitcode::STR_CLONE_TO,
|
||||
)
|
||||
.into_int_value(),
|
||||
Builtin::List(elem) => {
|
||||
let bd = env.builder;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue