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 | 8366b874a945dcf21370be784085a4e6e86a1eab (patch) | |
tree | 09cf238d8fb47b1b607dae61a23e80eddf340828 /llvm/lib | |
parent | 319c86fd384bac8c04cd284a4851b11d8e4b8e4c (diff) | |
download | bcm5719-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.cpp | 2 |
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()); |