aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/PassManager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/PassManager.h b/include/llvm/PassManager.h
index 64499ca8bd..14463ffed1 100644
--- a/include/llvm/PassManager.h
+++ b/include/llvm/PassManager.h
@@ -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