LibGC: Rename remaining occurrence of marked vector

In 3bfb0534be `MarkedVector` was renamed to `RootVector`, but some
related symbols were missed. This commit corrects this.
This commit is contained in:
InvalidUsernameException 2025-01-02 20:34:49 +01:00 committed by Andrew Kaster
commit 01f8ab35f1
Notes: github-actions[bot] 2025-01-02 23:23:26 +00:00
3 changed files with 13 additions and 13 deletions

View file

@ -13,12 +13,12 @@ namespace GC {
RootVectorBase::RootVectorBase(Heap& heap)
: m_heap(&heap)
{
m_heap->did_create_marked_vector({}, *this);
m_heap->did_create_root_vector({}, *this);
}
RootVectorBase::~RootVectorBase()
{
m_heap->did_destroy_marked_vector({}, *this);
m_heap->did_destroy_root_vector({}, *this);
}
RootVectorBase& RootVectorBase::operator=(RootVectorBase const& other)
@ -27,7 +27,7 @@ RootVectorBase& RootVectorBase::operator=(RootVectorBase const& other)
m_heap = other.m_heap;
// NOTE: IntrusiveList will remove this RootVectorBase from the old heap it was part of.
m_heap->did_create_marked_vector({}, *this);
m_heap->did_create_root_vector({}, *this);
}
return *this;