[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h
Brian Gaeke
gaeke at cs.uiuc.edu
Wed Feb 11 22:16:01 PST 2004
Changes in directory llvm/include/llvm/CodeGen:
MachineInstr.h updated: 1.129 -> 1.130
---
Log message:
Express one of MachineOperand's many constructors in terms of another, by means of default arguments.
---
Diffs of the changes: (+1 -7)
Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.129 llvm/include/llvm/CodeGen/MachineInstr.h:1.130
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.129 Wed Feb 11 22:00:55 2004
+++ llvm/include/llvm/CodeGen/MachineInstr.h Wed Feb 11 22:15:00 2004
@@ -129,13 +129,7 @@
int regNum; // register number for an explicit register
// will be set for a value after reg allocation
private:
- MachineOperand()
- : immedVal(0),
- flags(0),
- opType(MO_VirtualRegister),
- regNum(-1) {}
-
- MachineOperand(int64_t ImmVal, MachineOperandType OpTy)
+ MachineOperand(int64_t ImmVal = 0, MachineOperandType OpTy = MO_VirtualRegister)
: immedVal(ImmVal),
flags(0),
opType(OpTy),
More information about the llvm-commits
mailing list