mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 00:25:01 +00:00
PR2202: LLVMCreateInterpreter creates a JIT
Applying fix by Frits van Bommel. llvm-svn: 50249
This commit is contained in:
parent
484060ba4a
commit
c440737166
@ -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…
Reference in New Issue
Block a user