From 1c7b907325e9cf3a0713ceab5029fef04d9e498c Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 14 Sep 2004 05:43:23 +0000 Subject: 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 --- lib/VMCore/Module.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/VMCore/Module.cpp') diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp index 1dae14ec53..3759cfd85e 100644 --- a/lib/VMCore/Module.cpp +++ b/lib/VMCore/Module.cpp @@ -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. // -- cgit v1.2.3-18-g5258