mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +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:
@@ -81,9 +81,9 @@ ScriptFunction::~ScriptFunction()
|
||||
{
|
||||
}
|
||||
|
||||
void ScriptFunction::visit_children(Visitor& visitor)
|
||||
void ScriptFunction::visit_edges(Visitor& visitor)
|
||||
{
|
||||
Function::visit_children(visitor);
|
||||
Function::visit_edges(visitor);
|
||||
visitor.visit(m_parent_environment);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user