[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h

Evan Cheng evan.cheng at apple.com
Fri Jun 16 18:42:33 PDT 2006



Changes in directory llvm/include/llvm/Target:

TargetInstrInfo.h updated: 1.89 -> 1.90
---
Log message:

Clean up

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

 TargetInstrInfo.h |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.89 llvm/include/llvm/Target/TargetInstrInfo.h:1.90
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.89	Thu Jun 15 03:10:27 2006
+++ llvm/include/llvm/Target/TargetInstrInfo.h	Fri Jun 16 20:42:20 2006
@@ -149,8 +149,7 @@
   const TargetRegisterClass
   *getInstrOperandRegClass(const TargetInstrDescriptor *II, unsigned Op) const {
     if (Op >= II->numOperands) {
-      if (!(II->Flags & M_VARIABLE_OPS))
-        assert(false && "Invalid operand # of instruction");
+      assert((II->Flags & M_VARIABLE_OPS)&& "Invalid operand # of instruction");
       return NULL;
     }
     const TargetOperandInfo &toi = II->OpInfo[Op];






More information about the llvm-commits mailing list