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

Merge branch 'arm_port' into 'master'

renamed api calls

See merge request allnp/zipr_sdk!1
parents 53bc59e4 ce619231
No related branches found
1 merge request!1renamed api calls
......@@ -140,9 +140,9 @@ class Dollop_t : public Placeable_t, public std::list<DollopEntry_t*> {
void WasCoalesced(bool coalesced);
bool WasCoalesced(void) const { return m_coalesced; }
void ReCalculateWorstCaseSize();
void ReCalculateSize();
private:
size_t CalculateWorstCaseSize();
size_t CalculateSize();
size_t m_size;
Dollop_t *m_fallthrough_dollop, *m_fallback_dollop;
bool m_fallthrough_patched;
......
......@@ -50,7 +50,7 @@ class DollopManager_t {
public:
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
......
......@@ -49,6 +49,7 @@ class MemorySpace_t : public std::map<RangeAddress_t,char>
virtual void MergeFreeRange(Range_t range)=0;
virtual RangeSet_t::iterator FindFreeRange(RangeAddress_t addr)=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::pair<RangeSet_t::const_iterator,RangeSet_t::const_iterator>
GetNearbyFreeRanges(const RangeAddress_t hint, size_t count = 0) = 0;
......
......@@ -48,7 +48,7 @@ class Zipr_t
/*
* 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(
DollopEntry_t *,
......
......@@ -40,7 +40,7 @@ class ZiprPluginInterface_t
return false;
}
virtual size_t WorstCaseInsnSize(libIRDB::Instruction_t*, bool)
virtual size_t InsnSize(libIRDB::Instruction_t*, bool)
{
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