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,15 +783,7 @@ public:
print("add"); print("add");
} }
void clear(std::vector<Type *> &DerivedTypes) { /// RefineAbstractType - This method is called after we have merged a type
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 /// 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. /// some other type or reinstall it in the map with it's new configuration.
void RefineAbstractType(TypeClass *Ty, const DerivedType *OldType, void RefineAbstractType(TypeClass *Ty, const DerivedType *OldType,