aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Module.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-09-14 05:43:23 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-09-14 05:43:23 +0000
commit1c7b907325e9cf3a0713ceab5029fef04d9e498c (patch)
tree309f209381b087a116d18a6fa3081cbd41b5e0e7 /lib/VMCore/Module.cpp
parent44da7d79760998f9a70340b49a3811229838224d (diff)
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
Diffstat (limited to 'lib/VMCore/Module.cpp')
-rw-r--r--lib/VMCore/Module.cpp7
1 files changed, 0 insertions, 7 deletions
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.
//