mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2025-03-05 13:45:36 +00:00
TranslateArm: Add santity check to see if we've emitted a terminal instruction
This commit is contained in:
parent
2eec43178a
commit
d921390928
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ IR::Block TranslateArm(LocationDescriptor descriptor, MemoryRead32FuncType memor
|
|||
visitor.ir.block.cond_failed = { visitor.ir.current_location };
|
||||
}
|
||||
|
||||
ASSERT_MSG(visitor.ir.block.terminal.which() != 0, "Terminal has not been set");
|
||||
|
||||
return std::move(visitor.ir.block);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue