diff options
author | Danil Malyshev <dmalyshev@accesssoftek.com> | 2012-03-21 18:26:47 +0000 |
---|---|---|
committer | Danil Malyshev <dmalyshev@accesssoftek.com> | 2012-03-21 18:26:47 +0000 |
commit | 7803ec3d458ec73372760b838469292cdf38fe67 (patch) | |
tree | 296db69c21f61ba3ff4e83427c043b12709245ab /lib/ExecutionEngine/JIT/JIT.h | |
parent | 331ff3b1d1a08b4a39cea7cdc0c9a8567a5ba1b4 (diff) | |
download | external_llvm-7803ec3d458ec73372760b838469292cdf38fe67.zip external_llvm-7803ec3d458ec73372760b838469292cdf38fe67.tar.gz external_llvm-7803ec3d458ec73372760b838469292cdf38fe67.tar.bz2 |
Based on this discussion: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120305/138477.html
1. Declare a virtual function getPointerToNamedFunction() in JITMemoryManager
2. Move the implementation of getPointerToNamedFunction() form JIT/MCJIT to DefaultJITMemoryManager.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153205 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/JIT.h')
-rw-r--r-- | lib/ExecutionEngine/JIT/JIT.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.h b/lib/ExecutionEngine/JIT/JIT.h index 17d33fe..c557981 100644 --- a/lib/ExecutionEngine/JIT/JIT.h +++ b/lib/ExecutionEngine/JIT/JIT.h @@ -58,6 +58,7 @@ class JIT : public ExecutionEngine { TargetMachine &TM; // The current target we are compiling to TargetJITInfo &TJI; // The JITInfo for the target we are compiling to JITCodeEmitter *JCE; // JCE object + JITMemoryManager *JMM; std::vector<JITEventListener*> EventListeners; /// AllocateGVsWithCode - Some applications require that global variables and |