From: Chris Lattner Date: Tue, 20 Feb 2007 05:29:47 +0000 (+0000) Subject: remove dead method X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f00c6add9702246707c5389da0645433d3a76151;p=oota-llvm.git remove dead method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34436 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp index da5cdb7452c..be80b11039b 100644 --- a/lib/VMCore/Type.cpp +++ b/lib/VMCore/Type.cpp @@ -783,15 +783,7 @@ public: print("add"); } - void clear(std::vector &DerivedTypes) { - for (typename std::map::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,