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.

llvm-svn: 73567
This commit is contained in:
Chris Lattner 2009-06-16 22:26:13 +00:00
parent 32f546b77e
commit 632bfb31c9
1 changed files with 1 additions and 1 deletions

View File

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