diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-20 05:29:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-20 05:29:47 +0000 |
commit | f00c6add9702246707c5389da0645433d3a76151 (patch) | |
tree | a4498a988952a9493bc3d9b82799546d242eb556 | |
parent | 667089de045cf8aee785ea57e49b8ebb0942b442 (diff) | |
download | external_llvm-f00c6add9702246707c5389da0645433d3a76151.zip external_llvm-f00c6add9702246707c5389da0645433d3a76151.tar.gz external_llvm-f00c6add9702246707c5389da0645433d3a76151.tar.bz2 |
remove dead method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34436 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/Type.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp index da5cdb7..be80b11 100644 --- a/lib/VMCore/Type.cpp +++ b/lib/VMCore/Type.cpp @@ -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, |