rename Unreachable -> Rethrow

This commit is contained in:
Folkert 2021-01-07 20:19:12 +01:00
parent 9dd02ea090
commit e005dbde4c
5 changed files with 15 additions and 20 deletions

View file

@ -170,7 +170,7 @@ impl<'a> ParamMap<'a> {
}
Inc(_, _) | Dec(_, _) => unreachable!("these have not been introduced yet"),
Ret(_) | Unreachable | Jump(_, _) | RuntimeError(_) => {
Ret(_) | Rethrow | Jump(_, _) | RuntimeError(_) => {
// these are terminal, do nothing
}
}
@ -515,7 +515,7 @@ impl<'a> BorrowInfState<'a> {
}
Inc(_, _) | Dec(_, _) => unreachable!("these have not been introduced yet"),
Ret(_) | RuntimeError(_) | Unreachable => {
Ret(_) | RuntimeError(_) | Rethrow => {
// these are terminal, do nothing
}
}