update assert message

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31093 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-10-21 04:42:29 +00:00
parent 12143054aa
commit 2a445add12

View File

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