mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Revert "[PM] Add pass run listeners to the pass manager."
Revert the current implementation and C API. New implementation and C APIs are in the works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208904 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
#include "llvm/IR/Function.h"
|
||||
#include "llvm/IR/IRPrintingPasses.h"
|
||||
#include "llvm/IR/LegacyPassNameParser.h"
|
||||
#include "llvm/IR/LLVMContext.h"
|
||||
#include "llvm/PassRegistry.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
@@ -243,18 +242,6 @@ void PassRegistrationListener::enumeratePasses() {
|
||||
PassRegistry::getPassRegistry()->enumerateWith(this);
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// PassRunListener implementation
|
||||
//
|
||||
|
||||
// PassRunListener ctor - Add the current object to the list of
|
||||
// PassRunListeners...
|
||||
PassRunListener::PassRunListener(LLVMContext *C) {
|
||||
C->addRunListener(this);
|
||||
}
|
||||
|
||||
PassRunListener::~PassRunListener() {}
|
||||
|
||||
PassNameParser::~PassNameParser() {}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Reference in New Issue
Block a user