summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-05-29 16:56:48 +0000
committerAdrian Prantl <aprantl@apple.com>2014-05-29 16:56:48 +0000
commitfef140df96ae48f2aa70be8c1ad71c22f464c27b (patch)
treed04f42e64b0fef03c2a8712b05c4932cee126463
parent30531eff571fd6fa6d748bdf3a59cbb6faa90da9 (diff)
downloadbcm5719-llvm-fef140df96ae48f2aa70be8c1ad71c22f464c27b.tar.gz
bcm5719-llvm-fef140df96ae48f2aa70be8c1ad71c22f464c27b.zip
Debug Info: Remove unused code. The MInsn of an _abstract_ variable is
never used again and updating the abstract variable for each inlined instance of it was questionable in the first place. llvm-svn: 209829
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 2a0615d74f6..66ba9298c40 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1179,8 +1179,6 @@ DwarfDebug::collectVariableInfo(SmallPtrSet<const MDNode *, 16> &Processed) {
DbgVariable *RegVar = new DbgVariable(DV, AbsVar, this);
if (!addCurrentFnArgument(RegVar, Scope))
addScopeVariable(Scope, RegVar);
- if (AbsVar)
- AbsVar->setMInsn(MInsn);
// Check if the first DBG_VALUE is valid for the rest of the function.
if (Ranges.size() == 1 && Ranges.front().second == nullptr) {
OpenPOWER on IntegriCloud