Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ecf65269d6cb6c696f366500604312be7da0e418
https://github.com/WebKit/WebKit/commit/ecf65269d6cb6c696f366500604312be7da0e418
Author: Ahmad Saleem <[email protected]>
Date: 2026-07-20 (Mon, 20 Jul 2026)
Changed paths:
M Source/WTF/wtf/HashTable.h
Log Message:
-----------
Remove dead deleteReleasedWeakBuckets()/isReleasedWeakBucket() from
WTF::HashTable
https://bugs.webkit.org/show_bug.cgi?id=319825
rdar://182723245
Reviewed by Chris Dumez.
deleteReleasedWeakBuckets() and its call to isReleasedWeakBucket()
were reintroduced by 304636@main ("[WTF] Check size in
WTF::HashTable::expand"), which had been authored against a tree
state that predated 304266@main ("Push weak null removal logic
down into HashTable", bug 303710). That earlier commit had already
renamed isReleasedWeakBucket()/deleteReleasedWeakBuckets() to
isWeakNullBucket()/deleteWeakNullEntries() and updated the sole
call site in expand() accordingly.
As a result, deleteReleasedWeakBuckets() has had no callers and its
body has referenced a name, isReleasedWeakBucket(), that doesn't
exist anywhere in the tree. This went unnoticed because it's a
template member function that is never instantiated, so the
compiler never has to resolve the dependent, undefined call.
* Source/WTF/wtf/HashTable.h:
(WTF::Malloc>::deleteReleasedWeakBuckets): Deleted.
Canonical link: https://commits.webkit.org/317595@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications