Remove unused debug function

llvm-svn: 136442
This commit is contained in:
Douglas Gregor 2011-07-29 00:59:35 +00:00
parent bab6d2c2d4
commit f6f2810c1f
1 changed files with 0 additions and 21 deletions

View File

@ -4339,27 +4339,6 @@ dumpModuleIDMap(StringRef Name,
}
}
template<typename Key, typename Module, typename Adjustment,
unsigned InitialCapacity>
static void
dumpModuleIDOffsetMap(StringRef Name,
const ContinuousRangeMap<Key,
std::pair<Module *,
Adjustment>,
InitialCapacity> &Map) {
if (Map.begin() == Map.end())
return;
typedef ContinuousRangeMap<Key, std::pair<Module *, Adjustment>,
InitialCapacity> MapType;
llvm::errs() << Name << ":\n";
for (typename MapType::const_iterator I = Map.begin(), IEnd = Map.end();
I != IEnd; ++I) {
llvm::errs() << " " << I->first << " -> (" << I->second.first->FileName
<< ", " << I->second.second << ")\n";
}
}
void ASTReader::dump() {
llvm::errs() << "*** AST File Remapping:\n";
dumpModuleIDMap("Global bit offset map", GlobalBitOffsetsMap);