mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
Add doInitialization and doFinalization support in FunctionManager_New.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31747 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -135,10 +135,17 @@ public:
|
|||||||
/// so, return true.
|
/// so, return true.
|
||||||
bool runOnModule(Module &M);
|
bool runOnModule(Module &M);
|
||||||
|
|
||||||
|
/// doInitialization - Run all of the initializers for the function passes.
|
||||||
|
///
|
||||||
|
bool doInitialization();
|
||||||
|
|
||||||
|
/// doFinalization - Run all of the initializers for the function passes.
|
||||||
|
///
|
||||||
|
bool doFinalization();
|
||||||
private:
|
private:
|
||||||
|
|
||||||
FunctionPassManagerImpl_New *FPM;
|
FunctionPassManagerImpl_New *FPM;
|
||||||
|
ModuleProvider *MP;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user