LibJS: Suppress LibJSGCVerifier warning about Map::m_keys

This commit is contained in:
Andreas Kling 2024-04-07 08:52:46 +02:00
commit 7cbbd4dd7e
Notes: sideshowbarker 2024-07-17 00:53:02 +09:00

View file

@ -86,6 +86,8 @@ void Map::visit_edges(Cell::Visitor& visitor)
visitor.visit(value.key);
visitor.visit(value.value);
}
// NOTE: The entries in m_keys are already visited by the walk over m_entries above.
visitor.ignore(m_keys);
}
}