diff options
author | Devang Patel <dpatel@apple.com> | 2010-05-26 17:42:50 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-05-26 17:42:50 +0000 |
commit | b21a758bc232fcecdaca4fbc05334bb5b79cdad1 (patch) | |
tree | 6915110ae360f189f6ba6c0fc6439262b1fd70b8 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | e2df84254d628db835eb3e6456187cc3c0085a07 (diff) |
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104706 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 231f63c1bc..048268fa7c 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2198,10 +2198,8 @@ void DwarfDebug::collectVariableInfo(const MachineFunction *MF) { Processed.insert(DV); DbgVariable *RegVar = new DbgVariable(DV); Scope->addVariable(RegVar); - if (DV.getTag() != dwarf::DW_TAG_arg_variable) { - DbgValueStartMap[MInsn] = RegVar; + if (DV.getTag() != dwarf::DW_TAG_arg_variable) DbgVariableLabelsMap[RegVar] = getLabelBeforeInsn(MInsn); - } if (DbgVariable *AbsVar = findAbstractVariable(DV, MInsn->getDebugLoc())) { DbgVariableToDbgInstMap[AbsVar] = MInsn; VarToAbstractVarMap[RegVar] = AbsVar; @@ -2224,7 +2222,6 @@ void DwarfDebug::collectVariableInfo(const MachineFunction *MF) { continue; } End = *MVI; - DbgValueStartMap[End] = RegVar; MachineLocation MLoc; MLoc.set(Begin->getOperand(0).getReg(), 0); const MCSymbol *FLabel = getLabelBeforeInsn(Begin); @@ -2683,7 +2680,6 @@ void DwarfDebug::endFunction(const MachineFunction *MF) { DeleteContainerSeconds(DbgScopeMap); InsnsBeginScopeSet.clear(); InsnsEndScopeSet.clear(); - DbgValueStartMap.clear(); ConcreteScopes.clear(); DeleteContainerSeconds(AbstractScopes); AbstractScopesList.clear(); |