aboutsummaryrefslogtreecommitdiffstats
path: root/unittests/ExecutionEngine
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
commitf32df06245b31a8c6d7336bb40ba0602b0bf2f8a (patch)
tree6d42087a125f392a0a9bc6c765e0e515fdb8a566 /unittests/ExecutionEngine
parent247c1dcd91cf727889c063e086fa04d8835d65f7 (diff)
downloadexternal_llvm-f32df06245b31a8c6d7336bb40ba0602b0bf2f8a.zip
external_llvm-f32df06245b31a8c6d7336bb40ba0602b0bf2f8a.tar.gz
external_llvm-f32df06245b31a8c6d7336bb40ba0602b0bf2f8a.tar.bz2
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')
-rw-r--r--unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp2
-rw-r--r--unittests/ExecutionEngine/JIT/JITTest.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp b/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp
index 7e2104e..e890739 100644
--- a/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp
+++ b/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp
@@ -67,7 +67,7 @@ class JITEventListenerTest : public testing::Test {
JITEventListenerTest()
: M(new Module("module", getGlobalContext())),
EE(EngineBuilder(M)
- .setEngineToCreate(EngineBuilder::ENG_JIT)
+ .setEngineKind(EngineKind::JIT)
.create()) {
}
diff --git a/unittests/ExecutionEngine/JIT/JITTest.cpp b/unittests/ExecutionEngine/JIT/JITTest.cpp
index b46ff8a..41caeb2 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: