summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-08-07 22:09:08 +0000
committerEric Christopher <echristo@gmail.com>2014-08-07 22:09:08 +0000
commit91f0b9dbdddbba829cbc7bcade62279ba54720ea (patch)
tree1ea2d847798aedb4bc302103df8f07d9e338b53c /examples
parent8bf63d9dda9fe10813e61ef68406b9c2a78892e4 (diff)
Temporarily Revert "Update for llvm API change."
This reverts commit 215113 to match the reversion in llvm. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/clang-interpreter/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/clang-interpreter/main.cpp b/examples/clang-interpreter/main.cpp
index 1e75b42062..25b9825a26 100644
--- a/examples/clang-interpreter/main.cpp
+++ b/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();