projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dd4272
)
Fix the EE bindings to use the proper EE interfaces for creating a JIT.
author
Chris Lattner
<sabre@nondot.org>
Tue, 16 Jun 2009 22:26:13 +0000
(22:26 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 16 Jun 2009 22:26:13 +0000
(22:26 +0000)
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
lib/ExecutionEngine/ExecutionEngineBindings.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/ExecutionEngineBindings.cpp
b/lib/ExecutionEngine/ExecutionEngineBindings.cpp
index 83397a586d5372b475959a9771e682eab68f4951..401a22647e1d849c8591263a69ea03a287e26959 100644
(file)
--- 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::create
JIT(unwrap(MP), &Error, 0
,
+ ExecutionEngine::create
(unwrap(MP), false, &Error
,
(CodeGenOpt::Level)OptLevel)) {
*OutJIT = wrap(JIT);
return 0;