diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-05-12 18:21:23 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-05-12 18:21:23 +0000 |
commit | c154514e2daf5497141980544f6b0b03a8e6c37c (patch) | |
tree | 15f0d4855ccfd0b21c752f7f6e3e60e55e8ababc /lib/ExecutionEngine/MCJIT/MCJIT.cpp | |
parent | 01765eb0a187c103b21c265c60b45ecd2b538852 (diff) |
The MCJIT memory manager needs to initialize its Module member.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/MCJIT/MCJIT.cpp')
-rw-r--r-- | lib/ExecutionEngine/MCJIT/MCJIT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/MCJIT/MCJIT.cpp b/lib/ExecutionEngine/MCJIT/MCJIT.cpp index 3d4ee369ea..7230291576 100644 --- a/lib/ExecutionEngine/MCJIT/MCJIT.cpp +++ b/lib/ExecutionEngine/MCJIT/MCJIT.cpp @@ -58,7 +58,7 @@ ExecutionEngine *MCJIT::createJIT(Module *M, // If the target supports JIT code generation, create the JIT. if (TargetJITInfo *TJ = TM->getJITInfo()) - return new MCJIT(M, TM, *TJ, new MCJITMemoryManager(JMM), OptLevel, + return new MCJIT(M, TM, *TJ, new MCJITMemoryManager(JMM, M), OptLevel, GVsWithCode); if (ErrorStr) |