diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/TypesContext.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/VMCore/TypesContext.h b/lib/VMCore/TypesContext.h index 93a801b9f6..7419b0e894 100644 --- a/lib/VMCore/TypesContext.h +++ b/lib/VMCore/TypesContext.h @@ -216,7 +216,6 @@ protected: /// std::multimap<unsigned, PATypeHolder> TypesByHash; -public: ~TypeMapBase() { // PATypeHolder won't destroy non-abstract types. // We can't destroy them by simply iterating, because @@ -236,6 +235,7 @@ public: } } +public: void RemoveFromTypesByHash(unsigned Hash, const Type *Ty) { std::multimap<unsigned, PATypeHolder>::iterator I = TypesByHash.lower_bound(Hash); @@ -281,7 +281,6 @@ class TypeMap : public TypeMapBase { std::map<ValType, PATypeHolder> Map; public: typedef typename std::map<ValType, PATypeHolder>::iterator iterator; - ~TypeMap() { print("ON EXIT"); } inline TypeClass *get(const ValType &V) { iterator I = Map.find(V); |