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/MCJITMemoryManager.h | |
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/MCJITMemoryManager.h')
-rw-r--r-- | lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h b/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h index e3c6fda63b..6cc89e057a 100644 --- a/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h +++ b/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h @@ -26,7 +26,7 @@ class MCJITMemoryManager : public RTDyldMemoryManager { // FIXME: Multiple modules. Module *M; public: - MCJITMemoryManager(JITMemoryManager *jmm) : JMM(jmm) {} + MCJITMemoryManager(JITMemoryManager *jmm, Module *m) : JMM(jmm), M(m) {} // Allocate ActualSize bytes, or more, for the named function. Return // a pointer to the allocated memory and update Size to reflect how much |