From bcbed0a549a9207292da3b14c6095943c9509227 Mon Sep 17 00:00:00 2001 From: Juergen Ributzka Date: Thu, 15 May 2014 17:49:20 +0000 Subject: 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 --- llvm/lib/IR/Pass.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'llvm/lib/IR/Pass.cpp') 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() {} //===----------------------------------------------------------------------===// -- cgit v1.2.3