From 3668534f92a539ae68220ad2fd3f99e5f128d9be Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 7 Aug 2014 22:09:08 +0000 Subject: [PATCH] Temporarily Revert "Update for llvm API change." This reverts commit 215113 to match the reversion in llvm. llvm-svn: 215156 --- clang/examples/clang-interpreter/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/examples/clang-interpreter/main.cpp b/clang/examples/clang-interpreter/main.cpp index 1e75b420628b..25b9825a266f 100644 --- a/clang/examples/clang-interpreter/main.cpp +++ b/clang/examples/clang-interpreter/main.cpp @@ -45,6 +45,7 @@ std::string GetExecutablePath(const char *Argv0) { static llvm::ExecutionEngine *createExecutionEngine(llvm::Module *M, std::string *ErrorStr) { llvm::EngineBuilder EB = llvm::EngineBuilder(M) + .setUseMCJIT(true) .setEngineKind(llvm::EngineKind::Either) .setErrorStr(ErrorStr); return EB.create();