summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-20 20:44:34 +0000
committerChris Lattner <sabre@nondot.org>2006-10-20 20:44:34 +0000
commit8366b874a945dcf21370be784085a4e6e86a1eab (patch)
tree09cf238d8fb47b1b607dae61a23e80eddf340828 /llvm/lib
parent319c86fd384bac8c04cd284a4851b11d8e4b8e4c (diff)
downloadbcm5719-llvm-8366b874a945dcf21370be784085a4e6e86a1eab.tar.gz
bcm5719-llvm-8366b874a945dcf21370be784085a4e6e86a1eab.zip
bugfix
llvm-svn: 31074
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86InstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.cpp b/llvm/lib/Target/X86/X86InstrInfo.cpp
index 77e7bae1944..c5e45a8c648 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.cpp
+++ b/llvm/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());
OpenPOWER on IntegriCloud