[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h

Alkis Evlogimenos alkis at cs.uiuc.edu
Sun Dec 14 07:31:02 PST 2003


Changes in directory llvm/include/llvm/CodeGen:

MachineInstr.h updated: 1.117 -> 1.118

---
Log message:

I wonder how this didn't cause any tests to fail...


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

Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.117 llvm/include/llvm/CodeGen/MachineInstr.h:1.118
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.117	Sun Dec 14 07:24:17 2003
+++ llvm/include/llvm/CodeGen/MachineInstr.h	Sun Dec 14 07:30:19 2003
@@ -166,8 +166,8 @@
 		 bool isPCRelative = false)
     : value(V), opType(OpTy), regNum(-1) {
     switch (UseTy) {
-    case MOTy::Use:       flags = DEFFLAG; break;
-    case MOTy::Def:       flags = USEFLAG; break;
+    case MOTy::Use:       flags = USEFLAG; break;
+    case MOTy::Def:       flags = DEFFLAG; break;
     case MOTy::UseAndDef: flags = DEFFLAG | USEFLAG; break;
     default: assert(0 && "Invalid value for UseTy!");
     }





More information about the llvm-commits mailing list