Express one of MachineOperand's many constructors in terms of another, by means of...
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 12 Feb 2004 04:15:00 +0000 (04:15 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 12 Feb 2004 04:15:00 +0000 (04:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11343 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstr.h

index 572b982a8b61f64ade6950bf7815c4e115ff9554..8d36c885379b9d9e02d22ed1fef28861bf36851a 100644 (file)
@@ -129,13 +129,7 @@ private:
   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),