From 351830e81903ca241d4587bfdf28e9cadb4e9b02 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Wed, 27 Feb 2008 23:33:51 +0000 Subject: [PATCH] Remove dead code. llvm-svn: 47700 --- include/llvm/PassManagers.h | 4 ---- lib/VMCore/PassManager.cpp | 14 -------------- 2 files changed, 18 deletions(-) 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) {