aboutsummaryrefslogtreecommitdiff
path: root/unittests/ExecutionEngine/JIT/JITTest.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-18 06:08:49 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-18 06:08:49 +0000
commitd370d776aa6f28866563cdc85abbc32f20a96ec7 (patch)
tree6d42087a125f392a0a9bc6c765e0e515fdb8a566 /unittests/ExecutionEngine/JIT/JITTest.cpp
parent4612e597790cfed94e967860dd9bc09bd1e338aa (diff)
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
Diffstat (limited to 'unittests/ExecutionEngine/JIT/JITTest.cpp')
-rw-r--r--unittests/ExecutionEngine/JIT/JITTest.cpp2
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: