Clean up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30140 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-09-07 01:17:57 +00:00
parent 07240e04ab
commit 95971c51b0

View File

@ -527,6 +527,6 @@ void Emitter::emitInstruction(const MachineInstr &MI) {
break;
}
if ((Desc.Flags & M_VARIABLE_OPS) == 0)
assert(CurOp == MI.getNumOperands() && "Unknown encoding!");
assert((Desc.Flags & M_VARIABLE_OPS) != 0 ||
CurOp == MI.getNumOperands() && "Unknown encoding!");
}