forked from OSchip/llvm-project
Temporarily Revert "Update for llvm API change."
This reverts commit 215113 to match the reversion in llvm. llvm-svn: 215156
This commit is contained in:
parent
87048a4c9e
commit
3668534f92
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue