refactor: xo-gc: + GCObjectVisitor.generation_of()
Concession to narrow MutationLogStore to only use GCObjectVisitor instead of assuming X1Collector.
This commit is contained in:
parent
60dfeaaaaf
commit
b794f225b2
6 changed files with 36 additions and 7 deletions
|
|
@ -91,6 +91,9 @@ public:
|
|||
AllocInfo alloc_info(void * addr) const {
|
||||
return O::iface()->alloc_info(O::data(), addr);
|
||||
}
|
||||
Generation generation_of(role r, const void * addr) const noexcept {
|
||||
return O::iface()->generation_of(O::data(), r, addr);
|
||||
}
|
||||
|
||||
// non-const methods (still const in router!)
|
||||
void * alloc_copy(std::byte * src) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue