Skip to content

Commit

Permalink
Enabling incremental bytecode loading in the JIT:
Browse files Browse the repository at this point in the history
* Add ModuleProvider as a parameter to FunctionPassManager


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9122 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
mbrukman committed Oct 14, 2003
1 parent 7915a1e commit deb1740
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/llvm/PassManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

class Pass;
class Module;
class ModuleProvider;
template<class UnitType> class PassManagerT;

class PassManager {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit deb1740

Please sign in to comment.