mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 11:00:29 +00:00
LibJS: Visit OrdinaryFunctionObject's owning realm
This commit is contained in:
parent
59982ef582
commit
073a1dec16
Notes:
sideshowbarker
2024-07-18 04:15:56 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/073a1dec169 Pull-request: https://github.com/SerenityOS/serenity/pull/9969 Reviewed-by: https://github.com/awesomekling ✅ Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue