Skip to content
Permalink
Browse files
It should be possible to iterate just the values (and not the counts)…
… of a HashCountedSet

https://bugs.webkit.org/show_bug.cgi?id=178169

Patch by Sam Weinig <sam@webkit.org> on 2017-10-12
Reviewed by Daniel Bates.

Source/WTF:

Cleanup (fix indentation, simplify type names, adopt using), and add a values() range to
HashCountedSet. This will allow getting a Vector of all the values (and not the counts)
using the new copyToVector.

* wtf/HashCountedSet.h:

Tools:

* TestWebKitAPI/Tests/WTF/HashCountedSet.cpp:
(TestWebKitAPI::TEST):
Add test for HashCountedSet's new values() range.

Canonical link: https://commits.webkit.org/194460@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223236 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Sam Weinig authored and webkit-commit-queue committed Oct 12, 2017
1 parent c5e561f commit 641cd819e0f447f8807f2c0ba693a98ff87b4558
Showing 4 changed files with 328 additions and 275 deletions.
@@ -1,3 +1,16 @@
2017-10-12 Sam Weinig <sam@webkit.org>

It should be possible to iterate just the values (and not the counts) of a HashCountedSet
https://bugs.webkit.org/show_bug.cgi?id=178169

Reviewed by Daniel Bates.

Cleanup (fix indentation, simplify type names, adopt using), and add a values() range to
HashCountedSet. This will allow getting a Vector of all the values (and not the counts)
using the new copyToVector.

* wtf/HashCountedSet.h:

2017-10-11 Michael Saboff <msaboff@apple.com>

[JSC] Add ability to build with ARMV8 ILP32 ABI

0 comments on commit 641cd81

Please sign in to comment.