1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 21:35:06 +00:00

LibJS: Rename Cell::visit_children() => Cell::visit_edges()

The GC heap is really a graph of cells, so "children" didn't quite feel
appropriate here.
This commit is contained in:
Andreas Kling 2020-11-28 14:33:36 +01:00
parent 97a05ac9ac
commit 98f2da9834
32 changed files with 48 additions and 48 deletions

View file

@ -48,9 +48,9 @@ StringObject::~StringObject()
{
}
void StringObject::visit_children(Cell::Visitor& visitor)
void StringObject::visit_edges(Cell::Visitor& visitor)
{
Object::visit_children(visitor);
Object::visit_edges(visitor);
visitor.visit(&m_string);
}