mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 09:21:02 +00:00
Enabling incremental bytecode loading in the JIT:
* Add ModuleProvider as a parameter to FunctionPassManager git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9122 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7915a1e764
commit
deb1740615
@ -12,6 +12,7 @@
|
||||
|
||||
class Pass;
|
||||
class Module;
|
||||
class ModuleProvider;
|
||||
template<class UnitType> class PassManagerT;
|
||||
|
||||
class PassManager {
|
||||
@ -39,8 +40,9 @@ class Function;
|
||||
|
||||
class FunctionPassManager {
|
||||
PassManagerT<Function> *PM; // This is a straightforward Pimpl class
|
||||
ModuleProvider *MP;
|
||||
public:
|
||||
FunctionPassManager();
|
||||
FunctionPassManager(ModuleProvider *P);
|
||||
~FunctionPassManager();
|
||||
|
||||
/// add - Add a pass to the queue of passes to run. This passes
|
||||
|
Loading…
Reference in New Issue
Block a user