aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Type.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-20 05:29:47 +0000
committerChris Lattner <sabre@nondot.org>2007-02-20 05:29:47 +0000
commitf00c6add9702246707c5389da0645433d3a76151 (patch)
treea4498a988952a9493bc3d9b82799546d242eb556 /lib/VMCore/Type.cpp
parent667089de045cf8aee785ea57e49b8ebb0942b442 (diff)
downloadexternal_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
Diffstat (limited to 'lib/VMCore/Type.cpp')
-rw-r--r--lib/VMCore/Type.cpp10
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,