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:
Misha Brukman 2003-10-14 21:34:56 +00:00
parent 7915a1e764
commit deb1740615

View File

@ -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