FunctionPassManager does not support runOnModule().
authorDevang Patel <dpatel@apple.com>
Wed, 13 Dec 2006 00:34:32 +0000 (00:34 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 13 Dec 2006 00:34:32 +0000 (00:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32519 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 81c7fd6222178d8c5dcbdb6dffdf6d080ebe7a51..1f0fa1acd1d7d18f3f72c394a528dd8c7310d324 100644 (file)
@@ -131,11 +131,6 @@ public:
   /// This implies that all passes MUST be allocated with 'new'.
   void add(Pass *P);
 
-  /// Execute all of the passes scheduled for execution.  Keep
-  /// track of whether any of the passes modifies the function, and if
-  /// so, return true.
-  bool runOnModule(Module &M);
-
   /// run - Execute all of the passes scheduled for execution.  Keep
   /// track of whether any of the passes modifies the function, and if
   /// so, return true.
index e6f69c07a6a27584da56abe8ca311fd8235a343c..c377a05abd377d132d1a66bf5f8dc1ca00f72a7b 100644 (file)
@@ -945,13 +945,6 @@ void FunctionPassManager_New::add(Pass *P) {
   FPM->add(P);
 }
 
-/// Execute all of the passes scheduled for execution.  Keep
-/// track of whether any of the passes modifies the function, and if
-/// so, return true.
-bool FunctionPassManager_New::runOnModule(Module &M) {
-  return FPM->runOnModule(M);
-}
-
 /// run - Execute all of the passes scheduled for execution.  Keep
 /// track of whether any of the passes modifies the function, and if
 /// so, return true.