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

Reinstate "Update for llvm API change.""

This reinstates r215113.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216986 91177308-0d34-0410-b5e6-96231b3b80d8
parent 5aa7b72e
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
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