diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-16 22:26:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-16 22:26:13 +0000 |
commit | 714b72589d6186ab6cbbae319168b32c39e3a037 (patch) | |
tree | aeec09bb7b41298cd6a752c020cb00a9cc804996 /lib/ExecutionEngine | |
parent | 374cca78c9266aafb3f2ea974a787198243c7a59 (diff) | |
download | external_llvm-714b72589d6186ab6cbbae319168b32c39e3a037.zip external_llvm-714b72589d6186ab6cbbae319168b32c39e3a037.tar.gz external_llvm-714b72589d6186ab6cbbae319168b32c39e3a037.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73567 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/ExecutionEngineBindings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/ExecutionEngineBindings.cpp b/lib/ExecutionEngine/ExecutionEngineBindings.cpp index 83397a5..401a226 100644 --- a/lib/ExecutionEngine/ExecutionEngineBindings.cpp +++ b/lib/ExecutionEngine/ExecutionEngineBindings.cpp @@ -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; |