mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibJS: Suppress LibJSGCVerifier warning about Map::m_keys
This commit is contained in:
parent
e67f6343f7
commit
7cbbd4dd7e
Notes:
sideshowbarker
2024-07-17 00:53:02 +09:00
Author: https://github.com/awesomekling
Commit: 7cbbd4dd7e
Pull-request: https://github.com/SerenityOS/serenity/pull/23873
Reviewed-by: https://github.com/shannonbooth
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue