1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-01-19 04:32:19 +00:00

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@919 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ruchira Sasanka 2001-10-19 18:17:49 +00:00
parent 0f5e98854b
commit 33eb292e12

@ -198,6 +198,7 @@ MachineOperand::Initialize(MachineOperandType operandType,
{ {
opType = operandType; opType = operandType;
value = _val; value = _val;
regNum = -1;
} }
inline void inline void
@ -207,6 +208,7 @@ MachineOperand::InitializeConst(MachineOperandType operandType,
opType = operandType; opType = operandType;
value = NULL; value = NULL;
immedVal = intValue; immedVal = intValue;
regNum = -1;
} }
inline void inline void