PR2202: LLVMCreateInterpreter creates a JIT
authorGordon Henriksen <gordonhenriksen@mac.com>
Fri, 25 Apr 2008 02:52:30 +0000 (02:52 +0000)
committerGordon Henriksen <gordonhenriksen@mac.com>
Fri, 25 Apr 2008 02:52:30 +0000 (02:52 +0000)
Applying fix by Frits van Bommel.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50249 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/ExecutionEngineBindings.cpp

index 4521d9b1b28d2146711e9999f32eaecc910323ef..00195f099c142ba08e558e9a97da1ea48645553f 100644 (file)
@@ -104,7 +104,7 @@ int LLVMCreateInterpreter(LLVMExecutionEngineRef *OutInterp,
                           char **OutError) {
   std::string Error;
   if (ExecutionEngine *Interp =
-      ExecutionEngine::create(unwrap(MP), false, &Error)) {
+      ExecutionEngine::create(unwrap(MP), true, &Error)) {
     *OutInterp = wrap(Interp);
     return 0;
   }