mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
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:
@ -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.
|
||||
//
|
||||
|
Reference in New Issue
Block a user