refactor: make shallow_move() available from AGCObjectVisitor

This commit is contained in:
Roland Conybeare 2026-04-06 00:11:08 -04:00
commit d387355c7c
3 changed files with 14 additions and 5 deletions

View file

@ -47,6 +47,10 @@ namespace xo {
// const methods
// non-const methods
/** allocate copy of source object at address @p src.
Source must be owned by this collector.
Increments object age **/
static void * alloc_copy(DX1Collector & self, std::byte * src);
/** visit child of a gc-aware object. May update child in-place! **/
static void visit_child(DX1Collector & self, AGCObject * iface, void ** pp_data) noexcept;
///@}