mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-16 11:24:39 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user