mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Renamed some variables that were copy and pasted
This commit is contained in:
parent
ba1feb9330
commit
f4075adf00
1 changed files with 6 additions and 6 deletions
|
@ -1751,22 +1751,22 @@ fn list_join<'a, 'ctx, 'env>(
|
|||
|
||||
builder.build_store(dest_elem_ptr_alloca, next_dest_elem_ptr);
|
||||
|
||||
let outer_loop_end_cond = builder.build_int_compare(
|
||||
let inner_loop_end_cond = builder.build_int_compare(
|
||||
IntPredicate::ULT,
|
||||
next_index,
|
||||
inner_list_len,
|
||||
"loopcond",
|
||||
);
|
||||
|
||||
let after_outer_loop_bb =
|
||||
ctx.append_basic_block(parent, "after_outer_loop");
|
||||
let after_inner_loop_bb =
|
||||
ctx.append_basic_block(parent, "after_inner_loop");
|
||||
|
||||
builder.build_conditional_branch(
|
||||
outer_loop_end_cond,
|
||||
inner_loop_end_cond,
|
||||
inner_loop_bb,
|
||||
after_outer_loop_bb,
|
||||
after_inner_loop_bb,
|
||||
);
|
||||
builder.position_at_end(after_outer_loop_bb);
|
||||
builder.position_at_end(after_inner_loop_bb);
|
||||
}
|
||||
|
||||
// #index < outer_list_len
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue