LibJS+LibWeb: Add missing visit calls in visit_edges implementations

This commit is contained in:
Matthew Olsson 2023-03-21 10:08:44 -07:00 committed by Andreas Kling
commit 39d8c8d2a9
Notes: sideshowbarker 2024-07-17 08:59:18 +09:00
8 changed files with 49 additions and 25 deletions

View file

@ -16,10 +16,13 @@ void Intrinsics::visit_edges(JS::Cell::Visitor& visitor)
{
Base::visit_edges(visitor);
for (auto& it : m_namespaces)
visitor.visit(it.value);
for (auto& it : m_prototypes)
visitor.visit(it.value);
for (auto& it : m_constructors)
visitor.visit(it.value);
visitor.visit(m_realm);
}
}