added initializing regNum to -1 in both constructors of MachineOperand

llvm-svn: 851
This commit is contained in:
Ruchira Sasanka 2001-10-16 16:36:34 +00:00
parent 7d23a2bee9
commit f42b65d898
1 changed files with 1 additions and 0 deletions

View File

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