diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 3b0966a90ee..9eaced46567 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -198,6 +198,7 @@ MachineOperand::Initialize(MachineOperandType operandType, { opType = operandType; value = _val; + regNum = -1; } inline void @@ -207,6 +208,7 @@ MachineOperand::InitializeConst(MachineOperandType operandType, opType = operandType; value = NULL; immedVal = intValue; + regNum = -1; } inline void