xo-alloc/xo-ordinaltree: refactor rbtree Node alloc

progress toward careful gc-aware assignment
This commit is contained in:
Roland Conybeare 2025-12-04 21:31:55 -05:00
commit bd0b1b1f71
2 changed files with 10 additions and 1 deletions

View file

@ -20,9 +20,18 @@ operator new (std::size_t z, const xo::Cpof & cpof)
}
namespace xo {
using xo::reflect::TaggedPtr;
gc::IAlloc *
Object::mm = nullptr;
TaggedPtr
Object::self_tp() const
{
assert(false);
return TaggedPtr::universal_null();
}
IObject *
Object::_forward(IObject * src,
gc::IAlloc * gc)