add unreachable instruction to the mono IR

This commit is contained in:
Folkert 2021-01-01 02:26:56 +01:00
parent ccd302cbe9
commit 6bc0cf33a5
6 changed files with 22 additions and 2 deletions

View file

@ -187,6 +187,7 @@ fn insert_jumps<'a>(
None => None,
},
Unreachable => None,
Ret(_) => None,
Jump(_, _) => None,
RuntimeError(_) => None,