diff options
| author | Bill Wendling <isanbard@gmail.com> | 2012-03-22 20:30:41 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2012-03-22 20:30:41 +0000 |
| commit | 8c2cc41691fddb632aa35358573fdab80acfb706 (patch) | |
| tree | 3e6aa38f547733608c42c641949bdf0f2d6b74ba /llvm/lib | |
| parent | b6af2f36cdc2c6df1f0846015216ba8cd51c7e89 (diff) | |
| download | bcm5719-llvm-8c2cc41691fddb632aa35358573fdab80acfb706.tar.gz bcm5719-llvm-8c2cc41691fddb632aa35358573fdab80acfb706.zip | |
Remove unneeded #ifdefs.
llvm-svn: 153277
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Linker/LinkModules.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp index 03ebd2a441b..e2ec0224377 100644 --- a/llvm/lib/Linker/LinkModules.cpp +++ b/llvm/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); |

