Skip to content
Snippets Groups Projects
Commit ce619231 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

renamed api calls

parent 53bc59e4
No related branches found
No related tags found
1 merge request!1renamed api calls
...@@ -140,9 +140,9 @@ class Dollop_t : public Placeable_t, public std::list<DollopEntry_t*> { ...@@ -140,9 +140,9 @@ class Dollop_t : public Placeable_t, public std::list<DollopEntry_t*> {
void WasCoalesced(bool coalesced); void WasCoalesced(bool coalesced);
bool WasCoalesced(void) const { return m_coalesced; } bool WasCoalesced(void) const { return m_coalesced; }
void ReCalculateWorstCaseSize(); void ReCalculateSize();
private: private:
size_t CalculateWorstCaseSize(); size_t CalculateSize();
size_t m_size; size_t m_size;
Dollop_t *m_fallthrough_dollop, *m_fallback_dollop; Dollop_t *m_fallthrough_dollop, *m_fallback_dollop;
bool m_fallthrough_patched; bool m_fallthrough_patched;
......
...@@ -50,7 +50,7 @@ class DollopManager_t { ...@@ -50,7 +50,7 @@ class DollopManager_t {
public: public:
DollopManager_t() {}; DollopManager_t() {};
virtual size_t DetermineWorstCaseDollopEntrySize(DollopEntry_t *entry)=0; virtual size_t DetermineDollopEntrySize(DollopEntry_t *entry)=0;
/* /*
* Add a dollop and all its fallthrough dollops * Add a dollop and all its fallthrough dollops
......
...@@ -49,6 +49,7 @@ class MemorySpace_t : public std::map<RangeAddress_t,char> ...@@ -49,6 +49,7 @@ class MemorySpace_t : public std::map<RangeAddress_t,char>
virtual void MergeFreeRange(Range_t range)=0; virtual void MergeFreeRange(Range_t range)=0;
virtual RangeSet_t::iterator FindFreeRange(RangeAddress_t addr)=0; virtual RangeSet_t::iterator FindFreeRange(RangeAddress_t addr)=0;
virtual Range_t GetFreeRange(int size)=0; virtual Range_t GetFreeRange(int size)=0;
virtual Range_t GetInfiniteFreeRange()=0;
virtual std::list<Range_t> GetFreeRanges(size_t size = 0) = 0; virtual std::list<Range_t> GetFreeRanges(size_t size = 0) = 0;
virtual std::pair<RangeSet_t::const_iterator,RangeSet_t::const_iterator> virtual std::pair<RangeSet_t::const_iterator,RangeSet_t::const_iterator>
GetNearbyFreeRanges(const RangeAddress_t hint, size_t count = 0) = 0; GetNearbyFreeRanges(const RangeAddress_t hint, size_t count = 0) = 0;
......
...@@ -48,7 +48,7 @@ class Zipr_t ...@@ -48,7 +48,7 @@ class Zipr_t
/* /*
* These are public functions that the SDK user way want to use. * These are public functions that the SDK user way want to use.
*/ */
virtual size_t DetermineWorstCaseDollopEntrySize(DollopEntry_t*, bool account_for_fallthrough) = 0; virtual size_t DetermineDollopEntrySize(DollopEntry_t*, bool account_for_fallthrough) = 0;
virtual Zipr_SDK::RangeAddress_t PlopDollopEntry( virtual Zipr_SDK::RangeAddress_t PlopDollopEntry(
DollopEntry_t *, DollopEntry_t *,
......
...@@ -40,7 +40,7 @@ class ZiprPluginInterface_t ...@@ -40,7 +40,7 @@ class ZiprPluginInterface_t
return false; return false;
} }
virtual size_t WorstCaseInsnSize(libIRDB::Instruction_t*, bool) virtual size_t InsnSize(libIRDB::Instruction_t*, bool)
{ {
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment