1
0
Fork 0
mirror of https://git.suyu.dev/suyu/dynarmic.git synced 2025-03-04 21:26:06 +00:00

TranslateArm: Add santity check to see if we've emitted a terminal instruction

This commit is contained in:
MerryMage 2016-08-09 22:47:41 +01:00
parent 2eec43178a
commit d921390928

View file

@ -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);
}