mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 19:32:16 +00:00
Typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185971 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30bbf070a2
commit
b2754919ca
@ -1563,7 +1563,7 @@ DIE *CompileUnit::constructVariableDIE(DbgVariable *DV,
|
|||||||
assert(DVInsn->getNumOperands() == 3);
|
assert(DVInsn->getNumOperands() == 3);
|
||||||
if (DVInsn->getOperand(0).isReg()) {
|
if (DVInsn->getOperand(0).isReg()) {
|
||||||
const MachineOperand RegOp = DVInsn->getOperand(0);
|
const MachineOperand RegOp = DVInsn->getOperand(0);
|
||||||
// If the second operand is an immedieate, this is an indirect value.
|
// If the second operand is an immediate, this is an indirect value.
|
||||||
if (DVInsn->getOperand(1).isImm()) {
|
if (DVInsn->getOperand(1).isImm()) {
|
||||||
MachineLocation Location(RegOp.getReg(), DVInsn->getOperand(1).getImm());
|
MachineLocation Location(RegOp.getReg(), DVInsn->getOperand(1).getImm());
|
||||||
addVariableAddress(*DV, VariableDie, Location);
|
addVariableAddress(*DV, VariableDie, Location);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user