added initializing regNum to -1 in both constructors of MachineOperand

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@851 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ruchira Sasanka 2001-10-16 16:36:34 +00:00
parent 1b732fd0d6
commit 618155f6c8

View File

@ -171,6 +171,7 @@ MachineOperand::MachineOperand(MachineOperandType operandType,
Value* _val)
: opType(operandType),
immedVal(0),
regNum(-1),
value(_val),
isDef(false)
{}