mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
make TestBase64 compile
This commit is contained in:
parent
8846841a95
commit
a4475b7544
5 changed files with 66 additions and 60 deletions
|
@ -781,7 +781,7 @@ fn modify_refcount_list_help<'a, 'ctx, 'env>(
|
|||
let is_non_empty = builder.build_int_compare(
|
||||
IntPredicate::UGT,
|
||||
len,
|
||||
ctx.i64_type().const_zero(),
|
||||
env.ptr_int().const_zero(),
|
||||
"len > 0",
|
||||
);
|
||||
|
||||
|
@ -810,15 +810,7 @@ fn modify_refcount_list_help<'a, 'ctx, 'env>(
|
|||
);
|
||||
};
|
||||
|
||||
incrementing_elem_loop(
|
||||
env.builder,
|
||||
env.context,
|
||||
parent,
|
||||
ptr,
|
||||
len,
|
||||
"modify_rc_index",
|
||||
loop_fn,
|
||||
);
|
||||
incrementing_elem_loop(env, parent, ptr, len, "modify_rc_index", loop_fn);
|
||||
}
|
||||
|
||||
let refcount_ptr = PointerToRefcount::from_list_wrapper(env, original_wrapper);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue