ZJIT: Mark SideExit as terminator
This commit is contained in:
parent
d23fe287b6
commit
15618b7707
Notes:
git
2025-05-23 20:33:03 +00:00
@ -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,
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user