Remove dead code.
[oota-llvm.git] / lib / VMCore / PassManager.cpp
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) {