mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-27 17:31:33 +00:00
PR2202: LLVMCreateInterpreter creates a JIT
Applying fix by Frits van Bommel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50249 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2749c72f30
commit
2566388bc4
@ -104,7 +104,7 @@ int LLVMCreateInterpreter(LLVMExecutionEngineRef *OutInterp,
|
|||||||
char **OutError) {
|
char **OutError) {
|
||||||
std::string Error;
|
std::string Error;
|
||||||
if (ExecutionEngine *Interp =
|
if (ExecutionEngine *Interp =
|
||||||
ExecutionEngine::create(unwrap(MP), false, &Error)) {
|
ExecutionEngine::create(unwrap(MP), true, &Error)) {
|
||||||
*OutInterp = wrap(Interp);
|
*OutInterp = wrap(Interp);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user