diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-20 20:44:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-20 20:44:34 +0000 |
commit | 5860715e9da4ae8bc03745e10e695d8b0cd592a6 (patch) | |
tree | 9555f4456e49cae4f722bd54f33765a7f1be9b12 | |
parent | 6734bffe2471786ab0d943f236f6b02bc95084b4 (diff) |
bugfix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31074 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86InstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp index 77e7bae194..c5e45a8c64 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()); |