git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153277
91177308-0d34-0410-b5e6-
96231b3b80d8
/// 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.
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
dbgs() << '\n';
}
}
-#endif
private:
Type *getImpl(Type *T);