I doubt the address of the Error string was intended
[oota-llvm.git] / lib / ExecutionEngine / ExecutionEngineBindings.cpp
index bcb72ea944913c152dceb082dc1362e0a7d75b12..26e0d4141662394ab47216a8afee504f9377d690 100644 (file)
@@ -101,7 +101,8 @@ int LLVMCreateInterpreter(LLVMExecutionEngineRef *OutInterp,
                           LLVMModuleProviderRef MP,
                           char **OutError) {
   std::string Error;
-  if (ExecutionEngine *Interp = ExecutionEngine::create(unwrap(MP), &Error)) {
+  if (ExecutionEngine *Interp =
+      ExecutionEngine::create(unwrap(MP), false, &Error)) {
     *OutInterp = wrap(Interp);
     return 0;
   }