summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-09-02 22:35:49 +0000
committerEric Christopher <echristo@gmail.com>2014-09-02 22:35:49 +0000
commite9783b3a7a08b366389ae36936af88d2659e27c8 (patch)
treecc10a3a331a2fb8a2fa935b851dfccc903036236 /examples
parent5aa7b72ef5ec7a3d2b5936bc0c88f465b75d2d30 (diff)
Reinstate "Update for llvm API change.""
This reinstates r215113. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/clang-interpreter/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/clang-interpreter/main.cpp b/examples/clang-interpreter/main.cpp
index 60cb704107..6cb079c8bd 100644
--- a/examples/clang-interpreter/main.cpp
+++ b/examples/clang-interpreter/main.cpp
@@ -45,7 +45,6 @@ std::string GetExecutablePath(const char *Argv0) {
static llvm::ExecutionEngine *
createExecutionEngine(std::unique_ptr<llvm::Module> M, std::string *ErrorStr) {
return llvm::EngineBuilder(std::move(M))
- .setUseMCJIT(true)
.setEngineKind(llvm::EngineKind::Either)
.setErrorStr(ErrorStr)
.create();