aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Linker
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-03-22 20:30:41 +0000
committerBill Wendling <isanbard@gmail.com>2012-03-22 20:30:41 +0000
commit6d6c6d7d2ce42af78ffa4e84a30f14e4404f5985 (patch)
treea9c7b000550e59c4f17ccbac6c604fc61b551e17 /lib/Linker
parentcd7193fbce32e8ed3a63e8b76672cdf9956891ca (diff)
downloadexternal_llvm-6d6c6d7d2ce42af78ffa4e84a30f14e4404f5985.zip
external_llvm-6d6c6d7d2ce42af78ffa4e84a30f14e4404f5985.tar.gz
external_llvm-6d6c6d7d2ce42af78ffa4e84a30f14e4404f5985.tar.bz2
Remove unneeded #ifdefs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker')
-rw-r--r--lib/Linker/LinkModules.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp
index 03ebd2a..e2ec022 100644
--- a/lib/Linker/LinkModules.cpp
+++ b/lib/Linker/LinkModules.cpp
@@ -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);