use assert false instead of term

This commit is contained in:
lizzie 2026-03-30 08:21:08 +00:00
parent 88d0ea45e8
commit a305deeb36
74 changed files with 430 additions and 430 deletions

View file

@ -273,7 +273,7 @@ std::vector<u16> GenRandomThumbInst(u32 pc, bool is_last_inst, A32::ITState it_s
} else if (bitstring.substr(0, 8) == "11110100") {
bitstring.replace(0, 8, "11111001");
} else {
std::terminate(); //unreachable // "Unhandled ASIMD instruction: {} {}", fn, bs);
assert(false && "unreachable"); // "Unhandled ASIMD instruction: {} {}", fn, bs);
}
if (std::find(do_not_test.begin(), do_not_test.end(), fn) != do_not_test.end()) {
invalid.emplace_back(InstructionGenerator{bitstring.c_str()});