summaryrefslogtreecommitdiffstats
path: root/clang/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
commitaf2b7dc522d50750c6c1c0461fad53d1dfb29fd8 (patch)
treeef5c53008a71dcfa6f259c4615db0dc5261dc170 /clang/examples
parent53dbef6ef14378467a3439288e42e4b1d3027ec5 (diff)
downloadbcm5719-llvm-af2b7dc522d50750c6c1c0461fad53d1dfb29fd8.tar.gz
bcm5719-llvm-af2b7dc522d50750c6c1c0461fad53d1dfb29fd8.zip
Reinstate "Update for llvm API change.""
This reinstates r215113. llvm-svn: 216986
Diffstat (limited to 'clang/examples')
-rw-r--r--clang/examples/clang-interpreter/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/examples/clang-interpreter/main.cpp b/clang/examples/clang-interpreter/main.cpp
index 60cb7041070..6cb079c8bd7 100644
--- a/clang/examples/clang-interpreter/main.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud