Update for llvm API change.

llvm-svn: 215113
This commit is contained in:
Rafael Espindola 2014-08-07 14:23:03 +00:00
parent f5c1f8ac84
commit b0ece4e07d
1 changed files with 0 additions and 1 deletions

View File

@ -45,7 +45,6 @@ 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();