diff options
author | Juergen Ributzka <juergen@apple.com> | 2014-05-15 17:49:20 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2014-05-15 17:49:20 +0000 |
commit | bcbed0a549a9207292da3b14c6095943c9509227 (patch) | |
tree | d6e1ab4aba8e4a9a8f8393f03e85d2fedce17cbb /llvm/lib/IR/Pass.cpp | |
parent | 332e1b1909a79655ddf4f2c6d777cc6839129cb1 (diff) | |
download | bcm5719-llvm-bcbed0a549a9207292da3b14c6095943c9509227.tar.gz bcm5719-llvm-bcbed0a549a9207292da3b14c6095943c9509227.zip |
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.
llvm-svn: 208904
Diffstat (limited to 'llvm/lib/IR/Pass.cpp')
-rw-r--r-- | llvm/lib/IR/Pass.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/IR/Pass.cpp b/llvm/lib/IR/Pass.cpp index 58ae821db22..bb55d2af7cf 100644 --- a/llvm/lib/IR/Pass.cpp +++ b/llvm/lib/IR/Pass.cpp @@ -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() {} //===----------------------------------------------------------------------===// |