Remove dead code.
authorDevang Patel <dpatel@apple.com>
Wed, 27 Feb 2008 23:33:51 +0000 (23:33 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 27 Feb 2008 23:33:51 +0000 (23:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47700 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/PassManagers.h
lib/VMCore/PassManager.cpp

index 498b162650817572fdd01697a7aa4f70880f583c..44c932a0c60f05d7660a2a569caaca4ac3753bc6 100644 (file)
@@ -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);
 
index 5620d0f886cca8fbabcdab447a21a8c0bbfae3fe..089c451fa8cd25656dc7ac5874c42a2a4aa99c2c 100644 (file)
@@ -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) {