FunctionPassManager does not support runOnModule().

llvm-svn: 32519
This commit is contained in:
Devang Patel 2006-12-13 00:34:32 +00:00
parent 476a58a917
commit 08bed59d59
2 changed files with 0 additions and 12 deletions

View 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.

View 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.