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

Alkis Evlogimenos alkis at cs.uiuc.edu
Thu Mar 4 12:03:03 PST 2004


Changes in directory llvm/include/llvm/CodeGen:

MachineInstr.h updated: 1.144 -> 1.145

---
Log message:

Fix bug introduced by yesterday's changes.


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

Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.144 llvm/include/llvm/CodeGen/MachineInstr.h:1.145
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.144	Wed Mar  3 13:07:27 2004
+++ llvm/include/llvm/CodeGen/MachineInstr.h	Thu Mar  4 12:02:07 2004
@@ -135,6 +135,7 @@
   MachineOperand(int ImmVal = 0, MachineOperandType OpTy = MO_VirtualRegister)
     : flags(0), opType(OpTy), regNum(-1) {
     zeroContents ();
+    contents.immedVal = ImmVal;
   }
 
   MachineOperand(int Reg, MachineOperandType OpTy, UseType UseTy)





More information about the llvm-commits mailing list