|
@@ -62,7 +62,7 @@ TEST(JIT, GlobalInFunction) {
|
|
MemMgr->setPoisonMemory(true);
|
|
MemMgr->setPoisonMemory(true);
|
|
std::string Error;
|
|
std::string Error;
|
|
OwningPtr<ExecutionEngine> JIT(EngineBuilder(MP)
|
|
OwningPtr<ExecutionEngine> JIT(EngineBuilder(MP)
|
|
- .setEnginePreference(EngineBuilder::JITONLY)
|
|
|
|
|
|
+ .setEngineKind(EngineKind::JIT)
|
|
.setErrorStr(&Error)
|
|
.setErrorStr(&Error)
|
|
.setJITMemoryManager(MemMgr)
|
|
.setJITMemoryManager(MemMgr)
|
|
// The next line enables the fix:
|
|
// The next line enables the fix:
|