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:
Eric Christopher 2014-08-07 22:09:08 +00:00
parent 87048a4c9e
commit 3668534f92
1 changed files with 1 additions and 0 deletions

View File

@ -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();