diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-01 18:14:20 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-01 18:14:20 +0000 |
commit | 0b19bb76db13c89752cd308d21cb7203325039e8 (patch) | |
tree | 60148037bec914c03eb54bed09e1c4fe4dd4c00d /unittests/ExecutionEngine | |
parent | ed1c0ffe0b2287deaee7cba7506c93aa34c6d4b7 (diff) | |
download | llvm-0b19bb76db13c89752cd308d21cb7203325039e8.tar.gz llvm-0b19bb76db13c89752cd308d21cb7203325039e8.tar.bz2 llvm-0b19bb76db13c89752cd308d21cb7203325039e8.tar.xz |
Fix unit tests for LLVMContext+Module.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ExecutionEngine')
-rw-r--r-- | unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp b/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp index 3c9beebba6..1bcf0ab122 100644 --- a/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp +++ b/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp @@ -9,6 +9,7 @@ #include "llvm/ExecutionEngine/JITEventListener.h" +#include "llvm/LLVMContext.h" #include "llvm/Instructions.h" #include "llvm/Module.h" #include "llvm/ModuleProvider.h" @@ -64,7 +65,7 @@ struct RecordingJITEventListener : public JITEventListener { class JITEventListenerTest : public testing::Test { protected: JITEventListenerTest() - : M(new Module("module")), + : M(new Module("module", new LLVMContext())), EE(ExecutionEngine::createJIT(new ExistingModuleProvider(M))) { } |