[llvm-commits] [llvm] r153277 - /llvm/trunk/lib/Linker/LinkModules.cpp

Bill Wendling isanbard at gmail.com
Thu Mar 22 13:30:41 PDT 2012


Author: void
Date: Thu Mar 22 15:30:41 2012
New Revision: 153277

URL: http://llvm.org/viewvc/llvm-project?rev=153277&view=rev
Log:
Remove unneeded #ifdefs.

Modified:
    llvm/trunk/lib/Linker/LinkModules.cpp

Modified: llvm/trunk/lib/Linker/LinkModules.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Linker/LinkModules.cpp?rev=153277&r1=153276&r2=153277&view=diff
==============================================================================
--- llvm/trunk/lib/Linker/LinkModules.cpp (original)
+++ llvm/trunk/lib/Linker/LinkModules.cpp Thu Mar 22 15:30:41 2012
@@ -51,8 +51,8 @@
   /// DstResolvedOpaqueTypes - This is the set of opaque types in the
   /// destination modules who are getting a body from the source module.
   SmallPtrSet<StructType*, 16> DstResolvedOpaqueTypes;
+
 public:
-  
   /// addTypeMapping - Indicate that the specified type in the destination
   /// module is conceptually equivalent to the specified type in the source
   /// module.
@@ -68,7 +68,6 @@
 
   FunctionType *get(FunctionType *T) {return cast<FunctionType>(get((Type*)T));}
 
-#ifndef NDEBUG
   /// dump - Dump out the type map for debugging purposes.
   void dump() const {
     for (DenseMap<Type*, Type*>::const_iterator
@@ -80,7 +79,6 @@
       dbgs() << '\n';
     }
   }
-#endif
 
 private:
   Type *getImpl(Type *T);





More information about the llvm-commits mailing list