Skip to content
Snippets Groups Projects
Commit 91f0b9db authored by Eric Christopher's avatar Eric Christopher
Browse files

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
parent 8bf63d9d
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment