Remove unused code. No functionality change.
authorManman Ren <mren@apple.com>
Tue, 25 Jun 2013 18:49:55 +0000 (18:49 +0000)
committerManman Ren <mren@apple.com>
Tue, 25 Jun 2013 18:49:55 +0000 (18:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184866 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index 8034d621b9c0c99192679023e83a6ba44b0ee2a4..44485c4bcf7d318360bb93fae497a3af1fcd71b1 100644 (file)
@@ -259,10 +259,6 @@ unsigned DwarfUnits::getAddrPoolIndex(MCSymbol *Sym) {
 // Define a unique number for the abbreviation.
 //
 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.
   DIEAbbrev *InSet = AbbreviationsSet->GetOrInsertNode(&Abbrev);