summaryrefslogtreecommitdiff
path: root/include/llvm/ExecutionEngine
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-07-22 21:17:55 +0000
committerChris Lattner <sabre@nondot.org>2010-07-22 21:17:55 +0000
commit134d8eec8789184c7a7290ee101ca3d6f62f384a (patch)
tree4c53ddff97a5c807ed5732a469c6885fad7e64eb /include/llvm/ExecutionEngine
parent1c55386dae428d076bd7d054ed8bbb59c4ba954e (diff)
downloadllvm-134d8eec8789184c7a7290ee101ca3d6f62f384a.tar.gz
llvm-134d8eec8789184c7a7290ee101ca3d6f62f384a.tar.bz2
llvm-134d8eec8789184c7a7290ee101ca3d6f62f384a.tar.xz
remove the JIT "NeedsExactSize" feature and supporting logic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ExecutionEngine')
-rw-r--r--include/llvm/ExecutionEngine/JITMemoryManager.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/llvm/ExecutionEngine/JITMemoryManager.h b/include/llvm/ExecutionEngine/JITMemoryManager.h
index fd519203e3..e0159309ce 100644
--- a/include/llvm/ExecutionEngine/JITMemoryManager.h
+++ b/include/llvm/ExecutionEngine/JITMemoryManager.h
@@ -29,10 +29,9 @@ namespace llvm {
class JITMemoryManager {
protected:
bool HasGOT;
- bool SizeRequired;
public:
- JITMemoryManager() : HasGOT(false), SizeRequired(false) {}
+ JITMemoryManager() : HasGOT(false) {}
virtual ~JITMemoryManager();
/// CreateDefaultMemManager - This is used to create the default
@@ -71,12 +70,6 @@ public:
/// return a pointer to its base.
virtual uint8_t *getGOTBase() const = 0;
- /// NeedsExactSize - If the memory manager requires to know the size of the
- /// objects to be emitted
- bool NeedsExactSize() const {
- return SizeRequired;
- }
-
//===--------------------------------------------------------------------===//
// Main Allocation Functions
//===--------------------------------------------------------------------===//