Layer the memory manager between the JIT and the runtime Dyld.
[oota-llvm.git] / lib / ExecutionEngine / MCJIT / MCJIT.h
index 915ca0ea1e03033d5d900cd6fa8cf03fbff25eaa..1b507663e4ae19fab9f796f23bfc75f6eb921d2a 100644 (file)
@@ -24,11 +24,12 @@ namespace llvm {
 
 class MCJIT : public ExecutionEngine {
   MCJIT(Module *M, TargetMachine *tm, TargetJITInfo &tji,
-        JITMemoryManager *JMM, CodeGenOpt::Level OptLevel,
+        RTDyldMemoryManager *MemMgr, CodeGenOpt::Level OptLevel,
         bool AllocateGVsWithCode);
 
   TargetMachine *TM;
   MCContext *Ctx;
+  RTDyldMemoryManager *MemMgr;
 
   // FIXME: These may need moved to a separate 'jitstate' member like the
   // non-MC JIT does for multithreading and such. Just keep them here for now.