From d370d776aa6f28866563cdc85abbc32f20a96ec7 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 18 Jul 2009 06:08:49 +0000 Subject: Unbreak unittests build. - Reid, please check, I'm not sure if this is what was intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76286 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/ExecutionEngine/JIT/JITTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittests/ExecutionEngine/JIT/JITTest.cpp') 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 JIT(EngineBuilder(MP) - .setEnginePreference(EngineBuilder::JITONLY) + .setEngineKind(EngineKind::JIT) .setErrorStr(&Error) .setJITMemoryManager(MemMgr) // The next line enables the fix: -- cgit v1.2.3-18-g5258