arm_translator: NV conditional is obsolete
This commit is contained in:
parent
5f7d940fde
commit
efc8d2f772
1 changed files with 1 additions and 5 deletions
|
@ -57,17 +57,13 @@ bool ArmTranslatorVisitor::ConditionPassed(Cond cond) {
|
|||
"(i.e.: one and only one conditional instruction per block)");
|
||||
ASSERT_MSG(cond_state != ConditionalState::Break,
|
||||
"This should never happen. We requested a break but that wasn't honored.");
|
||||
ASSERT_MSG(cond != Cond::NV, "NV conditional is obsolete");
|
||||
|
||||
if (cond == Cond::AL) {
|
||||
// Everything is fine with the world
|
||||
return true;
|
||||
}
|
||||
|
||||
if (cond == Cond::NV) {
|
||||
// NV conditional is obsolete, but still seems to be used in some places!
|
||||
return false;
|
||||
}
|
||||
|
||||
// non-AL cond
|
||||
|
||||
if (!ir.block.instructions.IsEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue