llvm-svn: 185971
This commit is contained in:
Adrian Prantl 2013-07-09 21:44:06 +00:00
parent d7b574e5b3
commit 19942885ba
1 changed files with 1 additions and 1 deletions

View File

@ -1563,7 +1563,7 @@ DIE *CompileUnit::constructVariableDIE(DbgVariable *DV,
assert(DVInsn->getNumOperands() == 3);
if (DVInsn->getOperand(0).isReg()) {
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()) {
MachineLocation Location(RegOp.getReg(), DVInsn->getOperand(1).getImm());
addVariableAddress(*DV, VariableDie, Location);