diff options
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
| -rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h index e45b4c6..1b547a6 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -102,11 +102,15 @@ public:    ///    void runAtExitHandlers(); +  static void Register() { +    InterpCtor = create; +  } +      /// create - Create an interpreter ExecutionEngine. This can never fail.  The    /// specified IntrinsicLowering implementation will be deleted when the    /// Interpreter execution engine is destroyed.    /// -  static ExecutionEngine *create(Module *M, IntrinsicLowering *IL); +  static ExecutionEngine *create(ModuleProvider *M, IntrinsicLowering *IL);    /// run - Start execution with the specified function and arguments.    ///  | 
