LibJS: Visit OrdinaryFunctionObject's owning realm

This commit is contained in:
Idan Horowitz 2021-09-11 19:19:08 +03:00 committed by Andreas Kling
parent 59982ef582
commit 073a1dec16
Notes: sideshowbarker 2024-07-18 04:15:56 +09:00

View file

@ -98,6 +98,7 @@ void OrdinaryFunctionObject::visit_edges(Visitor& visitor)
{
Base::visit_edges(visitor);
visitor.visit(m_environment);
visitor.visit(m_realm);
}
FunctionEnvironment* OrdinaryFunctionObject::create_environment(FunctionObject& function_being_invoked)