Public Member Functions | |
void | freeEntryContents (int idx) |
void | freeEntry (int idx) override |
void | freeAtAddress (SegManager *segMan, reg_t sub_addr) override |
void | saveLoadWithSerializer (Common::Serializer &ser) override |
Public Member Functions inherited from Sci::SegmentObjTable< Hunk > | |
SegmentObjTable (SegmentType type) | |
void | initTable () |
int | allocEntry () |
bool | isValidOffset (uint32 offset) const override |
bool | isValidEntry (int idx) const |
Common::Array< reg_t > | listAllDeallocatable (SegmentId segId) const override |
uint | size () const |
Hunk & | at (uint index) |
const Hunk & | at (uint index) const |
Hunk & | operator[] (uint index) |
const Hunk & | operator[] (uint index) const |
Public Member Functions inherited from Sci::SegmentObj | |
SegmentObj (SegmentType type) | |
SegmentType | getType () const |
virtual SegmentRef | dereference (reg_t pointer) |
virtual reg_t | findCanonicAddress (SegManager *segMan, reg_t sub_addr) const |
virtual Common::Array< reg_t > | listAllOutgoingReferences (reg_t object) const |
Additional Inherited Members | |
Public Types inherited from Sci::SegmentObjTable< Hunk > | |
enum | |
typedef Hunk | value_type |
typedef Common::Array< Entry > | ArrayType |
Static Public Member Functions inherited from Sci::SegmentObj | |
static SegmentObj * | createSegmentObj (SegmentType type) |
Public Attributes inherited from Sci::SegmentObjTable< Hunk > | |
int | first_free |
int | entries_used |
ArrayType | _table |
Public Attributes inherited from Sci::SegmentObj | |
SegmentType | _type |
|
inlineoverridevirtual |
Deallocates all memory associated with the specified address. Used by the garbage collector.
sub_addr | address (within the given segment) to deallocate |
Reimplemented from Sci::SegmentObj.