xo-gc: refactor: retire DX1Collector._forward_inplace_aux()
This commit is contained in:
parent
2d4b9a10b9
commit
3fc43f428f
2 changed files with 4 additions and 2 deletions
|
|
@ -388,12 +388,12 @@ namespace xo {
|
|||
**/
|
||||
void _forward_children_until_fixpoint(Generation upto,
|
||||
const GCMoveCheckpoint & ckp);
|
||||
#endif
|
||||
|
||||
/** Evacuate object at @p *lhs_data to to-space.
|
||||
* Replace original with forwarding pointer to new location
|
||||
**/
|
||||
void _forward_inplace_aux(AGCObject * lhs_iface, void ** lhs_data, Generation upto);
|
||||
#endif
|
||||
|
||||
/** Verify that pointer {@p iface, @p data} is valid:
|
||||
* destination either in to-space, or somewhere outside this collector
|
||||
|
|
|
|||
|
|
@ -859,7 +859,7 @@ namespace xo {
|
|||
|
||||
if (runstate_.is_running()) {
|
||||
// called during collection phase
|
||||
this->_forward_inplace_aux(lhs_iface, lhs_data, upto);
|
||||
gco_store_._forward_inplace_aux(this, lhs_iface, lhs_data, upto);
|
||||
} else if (runstate_.is_verify()) {
|
||||
// called during verify_ok
|
||||
this->_verify_aux(lhs_iface, *lhs_data);
|
||||
|
|
@ -869,6 +869,7 @@ namespace xo {
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef OBSOLETE
|
||||
void
|
||||
DX1Collector::_forward_inplace_aux(AGCObject * lhs_iface,
|
||||
void ** lhs_data,
|
||||
|
|
@ -878,6 +879,7 @@ namespace xo {
|
|||
|
||||
gco_store_._forward_inplace_aux(this, lhs_iface, lhs_data, upto);
|
||||
} /*_forward_inplace_aux*/
|
||||
#endif
|
||||
|
||||
void
|
||||
DX1Collector::_verify_aux(AGCObject * iface, void * data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue