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)
|
Value* _val)
|
||||||
: opType(operandType),
|
: opType(operandType),
|
||||||
immedVal(0),
|
immedVal(0),
|
||||||
|
regNum(-1),
|
||||||
value(_val),
|
value(_val),
|
||||||
isDef(false)
|
isDef(false)
|
||||||
{}
|
{}
|
||||||
|
|
Loading…
Reference in New Issue