From 3fb2b87f174e2bcfeb631fe80fa49ac4eda6976c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 20 Oct 2006 20:44:34 +0000 Subject: [PATCH] bugfix llvm-svn: 31074 --- lib/Target/X86/X86InstrInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp index 77e7bae1944..c5e45a8c648 100644 --- a/lib/Target/X86/X86InstrInfo.cpp +++ b/lib/Target/X86/X86InstrInfo.cpp @@ -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());