Okay, the list of link-time passes wasn't such a hot idea. Its prone to

error. We'll strategize on this when we have multiple front ends to deal
with. For now llvm-ld just runs a standard set of transforms.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16333 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2004-09-14 05:43:23 +00:00
parent 44da7d7976
commit 1c7b907325
5 changed files with 1 additions and 64 deletions

View File

@ -270,13 +270,6 @@ std::string Module::getTypeName(const Type *Ty) const {
return ""; // Must not have found anything...
}
void Module::removePass(const std::string& Lib) {
PassListType::iterator I = find(PassList.begin(),PassList.end(),Lib);
if (I != PassList.end())
PassList.erase(I);
}
//===----------------------------------------------------------------------===//
// Other module related stuff.
//