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:
parent
97a05ac9ac
commit
98f2da9834
32 changed files with 48 additions and 48 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue