aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine/MCJIT/MCJIT.cpp
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2012-11-01 00:46:04 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2012-11-01 00:46:04 +0000
commit647d6d7d3b6bfc8d99b8425cff50f979dbbd2ab6 (patch)
treede4725c4ccb0352e5a0946a0c5cc98756cef49c0 /lib/ExecutionEngine/MCJIT/MCJIT.cpp
parent08e712b9ff4ab1aa560357e780ecf3e366b3178b (diff)
downloadexternal_llvm-647d6d7d3b6bfc8d99b8425cff50f979dbbd2ab6.zip
external_llvm-647d6d7d3b6bfc8d99b8425cff50f979dbbd2ab6.tar.gz
external_llvm-647d6d7d3b6bfc8d99b8425cff50f979dbbd2ab6.tar.bz2
Streamlined memory manager hierarchy for MCJIT and RuntimeDyld.
Patch by Ashok Thirumurthi git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/MCJIT/MCJIT.cpp')
-rw-r--r--lib/ExecutionEngine/MCJIT/MCJIT.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/MCJIT/MCJIT.cpp b/lib/ExecutionEngine/MCJIT/MCJIT.cpp
index 68c0c34..a0ad985 100644
--- a/lib/ExecutionEngine/MCJIT/MCJIT.cpp
+++ b/lib/ExecutionEngine/MCJIT/MCJIT.cpp
@@ -8,7 +8,6 @@
//===----------------------------------------------------------------------===//
#include "MCJIT.h"
-#include "MCJITMemoryManager.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Function.h"
#include "llvm/ExecutionEngine/GenericValue.h"
@@ -46,7 +45,7 @@ ExecutionEngine *MCJIT::createJIT(Module *M,
// FIXME: Don't do this here.
sys::DynamicLibrary::LoadLibraryPermanently(0, NULL);
- return new MCJIT(M, TM, new MCJITMemoryManager(JMM), GVsWithCode);
+ return new MCJIT(M, TM, JMM, GVsWithCode);
}
MCJIT::MCJIT(Module *m, TargetMachine *tm, RTDyldMemoryManager *MM,