From: Devang Patel Date: Wed, 27 Feb 2008 23:33:51 +0000 (+0000) Subject: Remove dead code. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=26c22cfbcd432dfc83c64331077a7ec034e92f51;p=oota-llvm.git Remove dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47700 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h index 498b1626508..44c932a0c60 100644 --- a/include/llvm/PassManagers.h +++ b/include/llvm/PassManagers.h @@ -204,10 +204,6 @@ public: virtual ~PMDataManager(); - /// Return true IFF pass P's required analysis set does not required new - /// manager. - bool manageablePass(Pass *P); - /// Augment AvailableAnalysis by adding analysis made available by pass P. void recordAvailableAnalysis(Pass *P); diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index 5620d0f886c..089c451fa8c 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -547,20 +547,6 @@ PMTopLevelManager::~PMTopLevelManager() { //===----------------------------------------------------------------------===// // PMDataManager implementation -/// Return true IFF pass P's required analysis set does not required new -/// manager. -bool PMDataManager::manageablePass(Pass *P) { - - // TODO - // If this pass is not preserving information that is required by a - // pass maintained by higher level pass manager then do not insert - // this pass into current manager. Use new manager. For example, - // For example, If FunctionPass F is not preserving ModulePass Info M1 - // that is used by another ModulePass M2 then do not insert F in - // current function pass manager. - return true; -} - /// Augement AvailableAnalysis by adding analysis made available by pass P. void PMDataManager::recordAvailableAnalysis(Pass *P) {