PR2202: LLVMCreateInterpreter creates a JIT

Applying fix by Frits van Bommel.

llvm-svn: 50249
This commit is contained in:
Gordon Henriksen 2008-04-25 02:52:30 +00:00
parent 484060ba4a
commit c440737166

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;
}