remove dead method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34436 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-02-20 05:29:47 +00:00
parent 667089de04
commit f00c6add97

View File

@ -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,