mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
I doubt the address of the Error string was intended
to be used for the force_interpreter parameter... Spotted by gcc-4.2. llvm-svn: 45714
This commit is contained in:
parent
7209d0c045
commit
3d1260ba4d
@ -101,7 +101,8 @@ int LLVMCreateInterpreter(LLVMExecutionEngineRef *OutInterp,
|
|||||||
LLVMModuleProviderRef MP,
|
LLVMModuleProviderRef MP,
|
||||||
char **OutError) {
|
char **OutError) {
|
||||||
std::string Error;
|
std::string Error;
|
||||||
if (ExecutionEngine *Interp = ExecutionEngine::create(unwrap(MP), &Error)) {
|
if (ExecutionEngine *Interp =
|
||||||
|
ExecutionEngine::create(unwrap(MP), false, &Error)) {
|
||||||
*OutInterp = wrap(Interp);
|
*OutInterp = wrap(Interp);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user