mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-04 21:55:06 +01:00
verification_pass: Have an appropriate assertion message
This commit is contained in:
parent
ebddf6cca0
commit
cae857b8c8
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ void VerificationPass(const IR::Block& block) {
|
|||
const IR::Type t2 = IR::GetArgTypeOf(inst.GetOpcode(), i);
|
||||
if (!IR::AreTypesCompatible(t1, t2)) {
|
||||
std::puts(IR::DumpBlock(block).c_str());
|
||||
ASSERT(false);
|
||||
ASSERT_FALSE("above block failed validation");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue