remove dead method

llvm-svn: 34436
This commit is contained in:
Chris Lattner 2007-02-20 05:29:47 +00:00
parent 61cd0914ed
commit 62b2842b6f
1 changed files with 1 additions and 9 deletions

View File

@ -783,14 +783,6 @@ 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
/// 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.