[llvm] r184866 - Remove unused code. No functionality change.

Manman Ren mren at apple.com
Tue Jun 25 11:49:56 PDT 2013


Author: mren
Date: Tue Jun 25 13:49:55 2013
New Revision: 184866

URL: http://llvm.org/viewvc/llvm-project?rev=184866&view=rev
Log:
Remove unused code. No functionality change.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=184866&r1=184865&r2=184866&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Tue Jun 25 13:49:55 2013
@@ -259,10 +259,6 @@ unsigned DwarfUnits::getAddrPoolIndex(MC
 // 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);
 





More information about the llvm-commits mailing list