1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 02:38:13 +00:00

LibJS: Function must mark its home object

This commit is contained in:
Andreas Kling 2021-02-07 10:46:57 +01:00
parent c95d48c8d6
commit 3620a6e054
2 changed files with 3 additions and 2 deletions

View file

@ -90,6 +90,7 @@ void Function::visit_edges(Visitor& visitor)
{
Object::visit_edges(visitor);
visitor.visit(m_home_object);
visitor.visit(m_bound_this);
for (auto argument : m_bound_arguments)