mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73567 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5dd4272c47
commit
86ecd50143
@ -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…
x
Reference in New Issue
Block a user