llvm-svn: 31074
This commit is contained in:
Chris Lattner 2006-10-20 20:44:34 +00:00
parent 6ea0134893
commit 3fb2b87f17

View File

@ -381,7 +381,7 @@ void X86InstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
return;
}
assert(Cond.size() == 2 && "PPC branch conditions have two components!");
assert(Cond.size() == 1 && "X86 branch conditions have two components!");
// Conditional branch.
unsigned Opc = GetCondBranchFromCond((X86::CondCode)Cond[0].getImm());