mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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:
@@ -69,9 +69,9 @@ LexicalEnvironment* BoundFunction::create_environment()
|
||||
return m_target_function->create_environment();
|
||||
}
|
||||
|
||||
void BoundFunction::visit_children(Visitor& visitor)
|
||||
void BoundFunction::visit_edges(Visitor& visitor)
|
||||
{
|
||||
Function::visit_children(visitor);
|
||||
Function::visit_edges(visitor);
|
||||
visitor.visit(m_target_function);
|
||||
visitor.visit(m_constructor_prototype);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user