mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Cleanup
This commit is contained in:
parent
fc9f04b716
commit
ed947b773d
10 changed files with 2331 additions and 4951 deletions
|
@ -1248,12 +1248,6 @@ pub fn build_exp_expr<'a, 'ctx, 'env>(
|
|||
let (tag_ptr, layout) = load_symbol_and_layout(scope, symbol);
|
||||
let tag_ptr = tag_ptr.into_pointer_value();
|
||||
|
||||
// reset is only generated for union values
|
||||
let union_layout = match layout_interner.get(layout) {
|
||||
Layout::Union(ul) => ul,
|
||||
_ => unreachable!(),
|
||||
};
|
||||
|
||||
let ctx = env.context;
|
||||
let not_unique_block = ctx.append_basic_block(parent, "else_decref");
|
||||
let cont_block = ctx.append_basic_block(parent, "cont");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue