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 | 8bc174aef7a5e5d5e0c680e62d5d8502d9a9d33c (patch) | |
tree | 08f075fbb45a56a382c2e7a71bb15102976632ff /llvm/unittests/ExecutionEngine | |
parent | 1a93330ffa2ae2aa0b49461f05e6f0d51e8443f8 (diff) | |
download | bcm5719-llvm-8bc174aef7a5e5d5e0c680e62d5d8502d9a9d33c.tar.gz bcm5719-llvm-8bc174aef7a5e5d5e0c680e62d5d8502d9a9d33c.zip |
Fix unit tests for LLVMContext+Module.
llvm-svn: 74622
Diffstat (limited to 'llvm/unittests/ExecutionEngine')
-rw-r--r-- | llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp index 3c9beebba65..1bcf0ab1227 100644 --- a/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp +++ b/llvm/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))) { } |