diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-05-29 16:56:48 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-05-29 16:56:48 +0000 |
commit | 1d7b7c5ba04ac6f6eecf12192816e14ba2850099 (patch) | |
tree | 1eb362fa514bcdc78252feeda73b606e711e687b /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | d4aff6892b8ee0880f9e25960e96111e04018342 (diff) | |
download | llvm-1d7b7c5ba04ac6f6eecf12192816e14ba2850099.tar.gz llvm-1d7b7c5ba04ac6f6eecf12192816e14ba2850099.tar.bz2 llvm-1d7b7c5ba04ac6f6eecf12192816e14ba2850099.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 2a0615d74f..66ba9298c4 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/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) { |