SCI: Revise GC interface: use Common::Array<reg_t> instead of callbacks
This means a little bit more overhead but makes the code much more readable and understandable. svn-id: r50429
This commit is contained in:
parent
30218a2c32
commit
31b2902714
5 changed files with 109 additions and 71 deletions
|
@ -104,8 +104,10 @@ public:
|
|||
virtual SegmentRef dereference(reg_t pointer);
|
||||
virtual reg_t findCanonicAddress(SegManager *segMan, reg_t sub_addr) const;
|
||||
virtual void freeAtAddress(SegManager *segMan, reg_t sub_addr);
|
||||
virtual void listAllDeallocatable(SegmentId segId, void *param, NoteCallback note) const;
|
||||
virtual void listAllOutgoingReferences(reg_t object, void *param, NoteCallback note) const;
|
||||
virtual Common::Array<reg_t> listAllDeallocatable(SegmentId segId) const;
|
||||
virtual Common::Array<reg_t> listAllOutgoingReferences(reg_t object) const;
|
||||
|
||||
Common::Array<reg_t> listObjectReferences() const;
|
||||
|
||||
virtual void saveLoadWithSerializer(Common::Serializer &ser);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue