forked from OSchip/llvm-project
Fix the EE bindings to use the proper EE interfaces for creating a JIT.
Calling into createJIT directly creates a circular dependency between libjit and lib ee. llvm-svn: 73567
This commit is contained in:
parent
32f546b77e
commit
632bfb31c9
|
@ -118,7 +118,7 @@ int LLVMCreateJITCompiler(LLVMExecutionEngineRef *OutJIT,
|
|||
char **OutError) {
|
||||
std::string Error;
|
||||
if (ExecutionEngine *JIT =
|
||||
ExecutionEngine::createJIT(unwrap(MP), &Error, 0,
|
||||
ExecutionEngine::create(unwrap(MP), false, &Error,
|
||||
(CodeGenOpt::Level)OptLevel)) {
|
||||
*OutJIT = wrap(JIT);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue