remove dead method
authorChris Lattner <sabre@nondot.org>
Tue, 20 Feb 2007 05:29:47 +0000 (05:29 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 20 Feb 2007 05:29:47 +0000 (05:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34436 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Type.cpp

index da5cdb7452c6469d069b6a6b7d0ce61b171b5e68..be80b11039bce30f129bda34d1c12c43c5f3d831 100644 (file)
@@ -783,15 +783,7 @@ public:
     print("add");
   }
   
-  void clear(std::vector<Type *> &DerivedTypes) {
-    for (typename std::map<ValType, PATypeHolder>::iterator I = Map.begin(),
-         E = Map.end(); I != E; ++I)
-      DerivedTypes.push_back(I->second.get());
-    TypesByHash.clear();
-    Map.clear();
-  }
-
- /// RefineAbstractType - This method is called after we have merged a type
+  /// RefineAbstractType - This method is called after we have merged a type
   /// with another one.  We must now either merge the type away with
   /// some other type or reinstall it in the map with it's new configuration.
   void RefineAbstractType(TypeClass *Ty, const DerivedType *OldType,