1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-03-06 05:33:28 +00:00

Remove dead code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106990 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2010-06-28 05:59:13 +00:00
parent fd5fdc3863
commit f347b82d49
2 changed files with 1 additions and 3 deletions
lib/CodeGen/AsmPrinter

@ -2589,7 +2589,6 @@ void DwarfDebug::identifyScopeMarkers() {
RE = Ranges.end(); RI != RE; ++RI) { RE = Ranges.end(); RI != RE; ++RI) {
assert(RI->first && "DbgRange does not have first instruction!"); assert(RI->first && "DbgRange does not have first instruction!");
assert(RI->second && "DbgRange does not have second instruction!"); assert(RI->second && "DbgRange does not have second instruction!");
InsnsBeginScopeSet.insert(RI->first);
InsnsEndScopeSet.insert(RI->second); InsnsEndScopeSet.insert(RI->second);
} }
} }
@ -2753,7 +2752,6 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
DbgVariableToDbgInstMap.clear(); DbgVariableToDbgInstMap.clear();
DbgVariableLabelsMap.clear(); DbgVariableLabelsMap.clear();
DeleteContainerSeconds(DbgScopeMap); DeleteContainerSeconds(DbgScopeMap);
InsnsBeginScopeSet.clear();
InsnsEndScopeSet.clear(); InsnsEndScopeSet.clear();
ConcreteScopes.clear(); ConcreteScopes.clear();
DeleteContainerSeconds(AbstractScopes); DeleteContainerSeconds(AbstractScopes);

@ -210,7 +210,7 @@ class DwarfDebug {
DenseMap<DIE *, const MDNode *> ContainingTypeMap; DenseMap<DIE *, const MDNode *> ContainingTypeMap;
typedef SmallVector<DbgScope *, 2> ScopeVector; typedef SmallVector<DbgScope *, 2> ScopeVector;
SmallPtrSet<const MachineInstr *, 8> InsnsBeginScopeSet;
SmallPtrSet<const MachineInstr *, 8> InsnsEndScopeSet; SmallPtrSet<const MachineInstr *, 8> InsnsEndScopeSet;
/// InlineInfo - Keep track of inlined functions and their location. This /// InlineInfo - Keep track of inlined functions and their location. This