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
This commit is contained in:
Adrian Prantl 2014-05-29 16:56:48 +00:00
parent 30531eff57
commit fef140df96
1 changed files with 0 additions and 2 deletions

View File

@ -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) {