Remove unused RuntimeErrorFunction variant from roc_mono::ir::Expr

This commit is contained in:
JRI98 2024-11-28 16:01:31 +00:00
parent dcb6c543c0
commit 75f13d3f2e
No known key found for this signature in database
GPG key ID: F83B29916FF13F24
9 changed files with 4 additions and 27 deletions

View file

@ -1453,11 +1453,6 @@ fn expr_spec<'a>(
erasure_load(builder, block, value, *field, loaded_type)
}
RuntimeErrorFunction(_) => {
let type_id = layout_spec(env, builder, interner, interner.get_repr(layout))?;
builder.add_terminate(block, type_id)
}
GetTagId { .. } => {
// TODO touch heap cell in recursive cases