Reinstate "Update for llvm API change.""

This reinstates r215113.

llvm-svn: 216986
This commit is contained in:
Eric Christopher 2014-09-02 22:35:49 +00:00
parent 53dbef6ef1
commit af2b7dc522

View File

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