diff options
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 3b0966a90e..9eaced4656 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 |