xo-alloc/xo-ordinaltree: refactor rbtree Node alloc
progress toward careful gc-aware assignment
This commit is contained in:
parent
451425af87
commit
5542fdea8b
6 changed files with 63 additions and 30 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue