forked from OSchip/llvm-project
added initializing regNum to -1 in both constructors of MachineOperand
llvm-svn: 851
This commit is contained in:
parent
7d23a2bee9
commit
f42b65d898
|
@ -171,6 +171,7 @@ MachineOperand::MachineOperand(MachineOperandType operandType,
|
|||
Value* _val)
|
||||
: opType(operandType),
|
||||
immedVal(0),
|
||||
regNum(-1),
|
||||
value(_val),
|
||||
isDef(false)
|
||||
{}
|
||||
|
|
Loading…
Reference in New Issue