Remove unneeded #ifdefs.
authorBill Wendling <isanbard@gmail.com>
Thu, 22 Mar 2012 20:30:41 +0000 (20:30 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 22 Mar 2012 20:30:41 +0000 (20:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153277 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Linker/LinkModules.cpp

index 03ebd2a441bc36679ea272c8765b8cebc5a284d6..e2ec02243773e8256ce1d1b5e1d60edbd7fa51ea 100644 (file)
@@ -51,8 +51,8 @@ class TypeMapTy : public ValueMapTypeRemapper {
   /// 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 @@ public:
 
   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 @@ public:
       dbgs() << '\n';
     }
   }
-#endif
 
 private:
   Type *getImpl(Type *T);