1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:08:13 +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

@ -813,9 +813,9 @@ bool Object::define_native_property(const StringOrSymbol& property_name, AK::Fun
return define_property(property_name, heap().allocate_without_global_object<NativeProperty>(move(getter), move(setter)), attribute);
}
void Object::visit_children(Cell::Visitor& visitor)
void Object::visit_edges(Cell::Visitor& visitor)
{
Cell::visit_children(visitor);
Cell::visit_edges(visitor);
visitor.visit(m_shape);
for (auto& value : m_storage)