summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-02-27 23:33:51 +0000
committerDevang Patel <dpatel@apple.com>2008-02-27 23:33:51 +0000
commita1a68825198cd86ffecd7e933a9951f2f773934e (patch)
tree369a81f172c735ee3c02245f9fd3b9a6eaf7e604
parentae24cca0e49cf11c6e6ec4909bb04c3a0dd281f2 (diff)
downloadbcm5719-llvm-a1a68825198cd86ffecd7e933a9951f2f773934e.tar.gz
bcm5719-llvm-a1a68825198cd86ffecd7e933a9951f2f773934e.zip
Remove dead code.
llvm-svn: 47700
-rw-r--r--llvm/include/llvm/PassManagers.h4
-rw-r--r--llvm/lib/VMCore/PassManager.cpp14
2 files changed, 0 insertions, 18 deletions
diff --git a/llvm/include/llvm/PassManagers.h b/llvm/include/llvm/PassManagers.h
index 498b1626508..44c932a0c60 100644
--- a/llvm/include/llvm/PassManagers.h
+++ b/llvm/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/llvm/lib/VMCore/PassManager.cpp b/llvm/lib/VMCore/PassManager.cpp
index 5620d0f886c..089c451fa8c 100644
--- a/llvm/lib/VMCore/PassManager.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud