forked from OSchip/llvm-project
DwarfDebug: Don't set frame index locations on abstract variables.
Abstract variables should never have/use locations. In this case the data wasn't used, so no functional change intended here, just simplification. llvm-svn: 208820
This commit is contained in:
parent
a310d98ff1
commit
91e8104622
|
@ -1142,8 +1142,6 @@ void DwarfDebug::collectVariableInfoFromMMITable(
|
|||
RegVar->setFrameIndex(VI.Slot);
|
||||
if (!addCurrentFnArgument(RegVar, Scope))
|
||||
addScopeVariable(Scope, RegVar);
|
||||
if (AbsDbgVariable)
|
||||
AbsDbgVariable->setFrameIndex(VI.Slot);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue