aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/PassManager.h5
-rw-r--r--lib/VMCore/PassManager.cpp7
2 files changed, 0 insertions, 12 deletions
diff --git a/include/llvm/PassManager.h b/include/llvm/PassManager.h
index 81c7fd6222..1f0fa1acd1 100644
--- a/include/llvm/PassManager.h
+++ b/include/llvm/PassManager.h
@@ -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.
diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp
index e6f69c07a6..c377a05abd 100644
--- a/lib/VMCore/PassManager.cpp
+++ b/lib/VMCore/PassManager.cpp
@@ -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.