Added code to Initialize (MachineOperand) to initialize regNum to -1 -- Ruchira

llvm-svn: 919
This commit is contained in:
Ruchira Sasanka 2001-10-19 18:17:49 +00:00
parent d77a1bbc2f
commit 1437395c9f
1 changed files with 2 additions and 0 deletions

View File

@ -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