mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
LibJS: Mark entire private environment chains during GC
This commit is contained in:
parent
4790f9a628
commit
f25899ca34
2 changed files with 7 additions and 0 deletions
|
@ -45,4 +45,10 @@ bool PrivateName::operator==(PrivateName const& rhs) const
|
|||
return unique_id == rhs.unique_id && description == rhs.description;
|
||||
}
|
||||
|
||||
void PrivateEnvironment::visit_edges(Visitor& visitor)
|
||||
{
|
||||
Cell::visit_edges(visitor);
|
||||
visitor.visit(m_outer_environment);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue