summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit38e46c46b488171fc8c00800ef7326e96348cea1 (patch)
treebad102c003307f91129c02febb3ab6c9f7c203e4 /llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
parente1b9216bc37d890efe944515d92fe8911f5cb991 (diff)
downloadbcm5719-llvm-38e46c46b488171fc8c00800ef7326e96348cea1.tar.gz
bcm5719-llvm-38e46c46b488171fc8c00800ef7326e96348cea1.zip
Unbreak unittests build.
- Reid, please check, I'm not sure if this is what was intended. llvm-svn: 76286
Diffstat (limited to 'llvm/unittests/ExecutionEngine/JIT/JITTest.cpp')
-rw-r--r--llvm/unittests/ExecutionEngine/JIT/JITTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
index b46ff8adf63..41caeb21bf8 100644
--- a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
+++ b/llvm/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:
OpenPOWER on IntegriCloud