mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +00:00
LibGC: Rename MarkedVector => RootVector
Let's try to make it a bit more clear that this is a Vector of GC roots.
This commit is contained in:
parent
ada36e5c0a
commit
3bfb0534be
Notes:
github-actions[bot]
2024-12-26 18:11:36 +00:00
Author: https://github.com/awesomekling
Commit: 3bfb0534be
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3048
117 changed files with 281 additions and 281 deletions
|
@ -35,9 +35,9 @@ void LiveNodeList::visit_edges(Cell::Visitor& visitor)
|
|||
visitor.visit(m_root);
|
||||
}
|
||||
|
||||
GC::MarkedVector<Node*> LiveNodeList::collection() const
|
||||
GC::RootVector<Node*> LiveNodeList::collection() const
|
||||
{
|
||||
GC::MarkedVector<Node*> nodes(heap());
|
||||
GC::RootVector<Node*> nodes(heap());
|
||||
if (m_scope == Scope::Descendants) {
|
||||
m_root->for_each_in_subtree([&](auto& node) {
|
||||
if (m_filter(node))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue