diff --git a/zjit/src/hir.rs b/zjit/src/hir.rs index ffd60c493e..9365e9ae9e 100644 --- a/zjit/src/hir.rs +++ b/zjit/src/hir.rs @@ -422,7 +422,7 @@ impl Insn { /// Return true if the instruction ends a basic block and false otherwise. pub fn is_terminator(&self) -> bool { match self { - Insn::Jump(_) | Insn::Return { .. } => true, + Insn::Jump(_) | Insn::Return { .. } | Insn::SideExit { .. } => true, _ => false, } }