Remove unused code. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184866 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Manman Ren 2013-06-25 18:49:55 +00:00
parent a37d96a04b
commit 2560e242c8

View File

@ -259,10 +259,6 @@ unsigned DwarfUnits::getAddrPoolIndex(MCSymbol *Sym) {
// Define a unique number for the abbreviation. // Define a unique number for the abbreviation.
// //
void DwarfUnits::assignAbbrevNumber(DIEAbbrev &Abbrev) { void DwarfUnits::assignAbbrevNumber(DIEAbbrev &Abbrev) {
// Profile the node so that we can make it unique.
FoldingSetNodeID ID;
Abbrev.Profile(ID);
// Check the set for priors. // Check the set for priors.
DIEAbbrev *InSet = AbbreviationsSet->GetOrInsertNode(&Abbrev); DIEAbbrev *InSet = AbbreviationsSet->GetOrInsertNode(&Abbrev);