summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-07-28 23:00:45 +0000
committerAdrian Prantl <aprantl@apple.com>2017-07-28 23:00:45 +0000
commit8b9bb534a176a26a8cd6a80366aabbc03abcc7e8 (patch)
treeb7c42fbc153996474d92a2273ef2a38fbab59bfc /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentd92ac5a259b19236696f4af0a8d199fb665761ea (diff)
downloadbcm5719-llvm-8b9bb534a176a26a8cd6a80366aabbc03abcc7e8.tar.gz
bcm5719-llvm-8b9bb534a176a26a8cd6a80366aabbc03abcc7e8.zip
Remove the unused offset from DBG_VALUE (NFC)
Followup to r309426. rdar://problem/33580047 llvm-svn: 309450
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugVariables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp
index 0c76478af55..d5e70734f1f 100644
--- a/llvm/lib/CodeGen/LiveDebugVariables.cpp
+++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp
@@ -941,7 +941,7 @@ void UserValue::insertDebugValue(MachineBasicBlock *MBB, SlotIndex Idx,
"Expected inlined-at fields to agree");
if (Loc.isReg())
BuildMI(*MBB, I, getDebugLoc(), TII.get(TargetOpcode::DBG_VALUE),
- IsIndirect, Loc.getReg(), offset, Variable, Expression);
+ IsIndirect, Loc.getReg(), Variable, Expression);
else
BuildMI(*MBB, I, getDebugLoc(), TII.get(TargetOpcode::DBG_VALUE))
.add(Loc)
OpenPOWER on IntegriCloud