mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02: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:
Notes:
sideshowbarker
2024-07-19 01:13:10 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/98f2da9834e
@@ -467,9 +467,9 @@ Value ProxyObject::delete_property(const PropertyName& name)
|
||||
return Value(true);
|
||||
}
|
||||
|
||||
void ProxyObject::visit_children(Cell::Visitor& visitor)
|
||||
void ProxyObject::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Function::visit_children(visitor);
|
||||
Function::visit_edges(visitor);
|
||||
visitor.visit(&m_target);
|
||||
visitor.visit(&m_handler);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user