[llvm-commits] CVS: llvm/lib/VMCore/Type.cpp

Chris Lattner sabre at nondot.org
Mon Feb 19 21:30:04 PST 2007



Changes in directory llvm/lib/VMCore:

Type.cpp updated: 1.174 -> 1.175
---
Log message:

remove dead method


---
Diffs of the changes:  (+1 -9)

 Type.cpp |   10 +---------
 1 files changed, 1 insertion(+), 9 deletions(-)


Index: llvm/lib/VMCore/Type.cpp
diff -u llvm/lib/VMCore/Type.cpp:1.174 llvm/lib/VMCore/Type.cpp:1.175
--- llvm/lib/VMCore/Type.cpp:1.174	Wed Feb 14 21:39:18 2007
+++ llvm/lib/VMCore/Type.cpp	Mon Feb 19 23:29:47 2007
@@ -783,15 +783,7 @@
     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,






More information about the llvm-commits mailing list