mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
I doubt the address of the Error string was intended
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
This commit is contained in:
parent
9c5525f4fa
commit
6aae7a748e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user