[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.cpp

Chris Lattner sabre at nondot.org
Fri Oct 20 13:44:48 PDT 2006



Changes in directory llvm/lib/Target/X86:

X86InstrInfo.cpp updated: 1.64 -> 1.65
---
Log message:

bugfix


---
Diffs of the changes:  (+1 -1)

 X86InstrInfo.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/X86/X86InstrInfo.cpp
diff -u llvm/lib/Target/X86/X86InstrInfo.cpp:1.64 llvm/lib/Target/X86/X86InstrInfo.cpp:1.65
--- llvm/lib/Target/X86/X86InstrInfo.cpp:1.64	Fri Oct 20 12:42:20 2006
+++ llvm/lib/Target/X86/X86InstrInfo.cpp	Fri Oct 20 15:44:34 2006
@@ -381,7 +381,7 @@
     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());






More information about the llvm-commits mailing list