aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2006-12-13 00:34:32 +0000
committerDevang Patel <dpatel@apple.com>2006-12-13 00:34:32 +0000
commit2db3a3bed789de582bd34558dc2c0d21a79f5a30 (patch)
tree5b7b8d72cbfc1ef9a5035631416bb05d70003b26
parent3f2577decba715615597352c4b3e2a551d44b64c (diff)
downloadexternal_llvm-2db3a3bed789de582bd34558dc2c0d21a79f5a30.tar.gz
external_llvm-2db3a3bed789de582bd34558dc2c0d21a79f5a30.tar.bz2
external_llvm-2db3a3bed789de582bd34558dc2c0d21a79f5a30.zip
FunctionPassManager does not support runOnModule().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32519 91177308-0d34-0410-b5e6-96231b3b80d8
-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.