bugfix
authorChris Lattner <sabre@nondot.org>
Fri, 20 Oct 2006 20:44:34 +0000 (20:44 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 20 Oct 2006 20:44:34 +0000 (20:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31074 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.cpp

index 77e7bae1944a2ec0ac02d8e0ffa90680169433fe..c5e45a8c64834d4c28010c74dce179b3010542f2 100644 (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());