diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-05-14 22:51:59 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-05-14 22:51:59 +0000 |
commit | 91e81046223483d9639c9c51d0adf8f322da0b75 (patch) | |
tree | fbe0c063a241b9fbc8f1b8e91d8cb52194da797c /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | a310d98ff1ccf7498beaf9614764eeff1291c986 (diff) | |
download | bcm5719-llvm-91e81046223483d9639c9c51d0adf8f322da0b75.tar.gz bcm5719-llvm-91e81046223483d9639c9c51d0adf8f322da0b75.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 2b445977750..5585f253918 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1142,8 +1142,6 @@ void DwarfDebug::collectVariableInfoFromMMITable( RegVar->setFrameIndex(VI.Slot); if (!addCurrentFnArgument(RegVar, Scope)) addScopeVariable(Scope, RegVar); - if (AbsDbgVariable) - AbsDbgVariable->setFrameIndex(VI.Slot); } } |