[llvm-commits] CVS: llvm/lib/CodeGen/MachineInstr.cpp

Vikram Adve vadve at cs.uiuc.edu
Thu Aug 7 10:02:14 PDT 2003


Changes in directory llvm/lib/CodeGen:

MachineInstr.cpp updated: 1.77 -> 1.78

---
Log message:

Fix assertion in MachineInstr::substituteValue().


---
Diffs of the changes:

Index: llvm/lib/CodeGen/MachineInstr.cpp
diff -u llvm/lib/CodeGen/MachineInstr.cpp:1.77 llvm/lib/CodeGen/MachineInstr.cpp:1.78
--- llvm/lib/CodeGen/MachineInstr.cpp:1.77	Tue Aug  5 16:55:20 2003
+++ llvm/lib/CodeGen/MachineInstr.cpp	Thu Aug  7 10:01:48 2003
@@ -135,8 +135,8 @@
                               bool defsOnly, bool notDefsAndUses,
                               bool& someArgsWereIgnored)
 {
-  assert((defsOnly || !notDefsAndUses) &&
-         "notDefsAndUses is irrelevant if defsOnly == false.");
+  assert((!defsOnly || !notDefsAndUses) &&
+         "notDefsAndUses is irrelevant if defsOnly == true.");
   
   unsigned numSubst = 0;
 





More information about the llvm-commits mailing list