mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
FunctionPassManager does not support runOnModule().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32519 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3f2577decb
commit
2db3a3bed7
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user