rename Rethrow -> Resume

This commit is contained in:
Folkert 2021-05-30 14:44:46 +02:00
parent 4eacbf5794
commit 03cc96f4ed
8 changed files with 20 additions and 18 deletions

View file

@ -105,7 +105,7 @@ fn insert_jumps<'a>(
exception_id,
..
} if needle == *fsym && symbol == rsym => {
debug_assert_eq!(fail, &&Stmt::Rethrow(*exception_id));
debug_assert_eq!(fail, &&Stmt::Resume(*exception_id));
// replace the call and return with a jump
@ -241,7 +241,7 @@ fn insert_jumps<'a>(
None => None,
},
Rethrow(_) => None,
Resume(_) => None,
Ret(_) => None,
Jump(_, _) => None,
RuntimeError(_) => None,