diff options
| author | Devang Patel <dpatel@apple.com> | 2006-12-13 00:34:32 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2006-12-13 00:34:32 +0000 |
| commit | 08bed59d59d1ae4d68a71f328374f147fd42516e (patch) | |
| tree | 1b9dd08c6a27563cd96c5dc2d883fb437a4afe55 | |
| parent | 476a58a91770db123791fb8c718b8dfdcd9d8b4f (diff) | |
| download | bcm5719-llvm-08bed59d59d1ae4d68a71f328374f147fd42516e.tar.gz bcm5719-llvm-08bed59d59d1ae4d68a71f328374f147fd42516e.zip | |
FunctionPassManager does not support runOnModule().
llvm-svn: 32519
| -rw-r--r-- | llvm/include/llvm/PassManager.h | 5 | ||||
| -rw-r--r-- | llvm/lib/VMCore/PassManager.cpp | 7 |
2 files changed, 0 insertions, 12 deletions
diff --git a/llvm/include/llvm/PassManager.h b/llvm/include/llvm/PassManager.h index 81c7fd62221..1f0fa1acd1d 100644 --- a/llvm/include/llvm/PassManager.h +++ b/llvm/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/llvm/lib/VMCore/PassManager.cpp b/llvm/lib/VMCore/PassManager.cpp index e6f69c07a6a..c377a05abd3 100644 --- a/llvm/lib/VMCore/PassManager.cpp +++ b/llvm/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. |

