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

@ -209,7 +209,6 @@ impl<'a> LastSeenMap<'a> {
self.set_last_seen(*initializer, stmt);
}
}
Expr::RuntimeErrorFunction(_) => {}
Expr::FunctionPointer { .. } => todo_lambda_erasure!(),
Expr::EmptyArray => {}
}
@ -1003,7 +1002,6 @@ trait Backend<'a> {
} => {
self.build_alloca(*sym, *initializer, *element_layout);
}
Expr::RuntimeErrorFunction(_) => todo!(),
}
}