mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibJS+LibWeb: Use new Cell::Visitor helpers to avoid manual iteration
This commit is contained in:
@@ -53,8 +53,7 @@ void Executable::dump() const
|
||||
void Executable::visit_edges(Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
for (auto constant : constants)
|
||||
visitor.visit(constant);
|
||||
visitor.visit(constants);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user