OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c5525f
)
I doubt the address of the Error string was intended
author
Duncan Sands
<baldrick@free.fr>
Mon, 7 Jan 2008 19:14:42 +0000
(19:14 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Mon, 7 Jan 2008 19:14:42 +0000
(19:14 +0000)
to be used for the force_interpreter parameter...
Spotted by gcc-4.2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45714
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
bcb72ea
..
26e0d41
100644
(file)
--- a/
lib/ExecutionEngine/ExecutionEngineBindings.cpp
+++ b/
lib/ExecutionEngine/ExecutionEngineBindings.cpp
@@
-101,7
+101,8
@@
int LLVMCreateInterpreter(LLVMExecutionEngineRef *OutInterp,
LLVMModuleProviderRef MP,
char **OutError) {
std::string Error;
- if (ExecutionEngine *Interp = ExecutionEngine::create(unwrap(MP), &Error)) {
+ if (ExecutionEngine *Interp =
+ ExecutionEngine::create(unwrap(MP), false, &Error)) {
*OutInterp = wrap(Interp);
return 0;
}