mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:07:34 +00:00
LibJS: Mark instance field names in FunctionObject::visit_edges()
This commit is contained in:
parent
5c905acf1d
commit
466649c1e8
1 changed files with 3 additions and 1 deletions
|
@ -93,8 +93,10 @@ void FunctionObject::visit_edges(Visitor& visitor)
|
|||
for (auto argument : m_bound_arguments)
|
||||
visitor.visit(argument);
|
||||
|
||||
for (auto& field : m_fields)
|
||||
for (auto& field : m_fields) {
|
||||
field.name.visit_edges(visitor);
|
||||
visitor.visit(field.initializer);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue