mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
clarify block names
This commit is contained in:
parent
771599165b
commit
2c604f96e0
1 changed files with 3 additions and 3 deletions
|
@ -1006,8 +1006,8 @@ pub fn build_exp_expr<'a, 'ctx, 'env>(
|
||||||
};
|
};
|
||||||
|
|
||||||
let ctx = env.context;
|
let ctx = env.context;
|
||||||
let then_block = ctx.append_basic_block(parent, "then");
|
let then_block = ctx.append_basic_block(parent, "then_reset");
|
||||||
let else_block = ctx.append_basic_block(parent, "else");
|
let else_block = ctx.append_basic_block(parent, "else_decref");
|
||||||
let cont_block = ctx.append_basic_block(parent, "cont");
|
let cont_block = ctx.append_basic_block(parent, "cont");
|
||||||
|
|
||||||
let refcount_ptr = PointerToRefcount::from_ptr_to_data(env, tag_ptr);
|
let refcount_ptr = PointerToRefcount::from_ptr_to_data(env, tag_ptr);
|
||||||
|
@ -1024,7 +1024,7 @@ pub fn build_exp_expr<'a, 'ctx, 'env>(
|
||||||
let reset_function = build_reset(env, layout_ids, union_layout);
|
let reset_function = build_reset(env, layout_ids, union_layout);
|
||||||
let call = env
|
let call = env
|
||||||
.builder
|
.builder
|
||||||
.build_call(reset_function, &[tag_ptr.into()], "call_reuse");
|
.build_call(reset_function, &[tag_ptr.into()], "call_reset");
|
||||||
|
|
||||||
call.set_call_convention(FAST_CALL_CONV);
|
call.set_call_convention(FAST_CALL_CONV);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue