mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
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
This commit is contained in:
@@ -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
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
||||
@@ -573,11 +573,6 @@ public:
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// GetFunctionSizeInBytes - Returns the size of the specified
|
||||
/// MachineFunction.
|
||||
///
|
||||
virtual unsigned GetFunctionSizeInBytes(const MachineFunction &MF) const = 0;
|
||||
|
||||
/// Measure the specified inline asm to determine an approximation of its
|
||||
/// length.
|
||||
virtual unsigned getInlineAsmLength(const char *Str,
|
||||
@@ -621,7 +616,6 @@ public:
|
||||
virtual bool isSchedulingBoundary(const MachineInstr *MI,
|
||||
const MachineBasicBlock *MBB,
|
||||
const MachineFunction &MF) const;
|
||||
virtual unsigned GetFunctionSizeInBytes(const MachineFunction &MF) const;
|
||||
|
||||
virtual ScheduleHazardRecognizer *
|
||||
CreateTargetPostRAHazardRecognizer(const InstrItineraryData&) const;
|
||||
|
||||
Reference in New Issue
Block a user