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:
Gordon Henriksen 2008-04-25 02:52:30 +00:00
parent 2749c72f30
commit 2566388bc4

View File

@ -104,7 +104,7 @@ int LLVMCreateInterpreter(LLVMExecutionEngineRef *OutInterp,
char **OutError) {
std::string Error;
if (ExecutionEngine *Interp =
ExecutionEngine::create(unwrap(MP), false, &Error)) {
ExecutionEngine::create(unwrap(MP), true, &Error)) {
*OutInterp = wrap(Interp);
return 0;
}