mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +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
|
@ -86,9 +86,9 @@ BoundFunction* Function::bind(Value bound_this_value, Vector<Value> arguments)
|
|||
return heap().allocate<BoundFunction>(global_object(), global_object(), target_function, bound_this_object, move(all_bound_arguments), computed_length, constructor_prototype);
|
||||
}
|
||||
|
||||
void Function::visit_children(Visitor& visitor)
|
||||
void Function::visit_edges(Visitor& visitor)
|
||||
{
|
||||
Object::visit_children(visitor);
|
||||
Object::visit_edges(visitor);
|
||||
|
||||
visitor.visit(m_bound_this);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue