added initializing regNum to -1 in both constructors of MachineOperand
authorRuchira Sasanka <sasanka@students.uiuc.edu>
Tue, 16 Oct 2001 16:36:34 +0000 (16:36 +0000)
committerRuchira Sasanka <sasanka@students.uiuc.edu>
Tue, 16 Oct 2001 16:36:34 +0000 (16:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@851 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstr.h

index c6633e5ca1b00da9a31d8f603694c619f9845435..3b0966a90ee9d8041dbabb56f004305af550e0c6 100644 (file)
@@ -171,6 +171,7 @@ MachineOperand::MachineOperand(MachineOperandType operandType,
                               Value* _val)
   : opType(operandType),
     immedVal(0),
+    regNum(-1),
     value(_val),
     isDef(false)
 {}