diff options
Diffstat (limited to 'unittests/ExecutionEngine/JIT/JITTest.cpp')
-rw-r--r-- | unittests/ExecutionEngine/JIT/JITTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ExecutionEngine/JIT/JITTest.cpp b/unittests/ExecutionEngine/JIT/JITTest.cpp index b46ff8adf6..41caeb21bf 100644 --- a/unittests/ExecutionEngine/JIT/JITTest.cpp +++ b/unittests/ExecutionEngine/JIT/JITTest.cpp @@ -62,7 +62,7 @@ TEST(JIT, GlobalInFunction) { MemMgr->setPoisonMemory(true); std::string Error; OwningPtr<ExecutionEngine> JIT(EngineBuilder(MP) - .setEnginePreference(EngineBuilder::JITONLY) + .setEngineKind(EngineKind::JIT) .setErrorStr(&Error) .setJITMemoryManager(MemMgr) // The next line enables the fix: |