remove Reuse

This commit is contained in:
Folkert 2023-06-28 22:02:02 +02:00
parent 1daf975391
commit f27cb83a02
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
11 changed files with 33 additions and 125 deletions

View file

@ -1064,26 +1064,6 @@ pub(crate) fn build_exp_expr<'a, 'ctx>(
)
.into(),
Reuse {
arguments,
tag_layout: union_layout,
tag_id,
symbol,
..
} => {
let reset = scope.load_symbol(symbol).into_pointer_value();
build_tag(
env,
layout_interner,
scope,
union_layout,
*tag_id,
arguments,
Some(reset),
parent,
)
}
Tag {
arguments,
tag_layout: union_layout,