Title: [275954] trunk/Source/WTF
- Revision
- 275954
- Author
- [email protected]
- Date
- 2021-04-14 11:42:32 -0700 (Wed, 14 Apr 2021)
Log Message
Revert important part of r275948
https://bugs.webkit.org/show_bug.cgi?id=224381
It caused an internal build failure.
* wtf/HashTable.h:
(WTF::KeyTraits>::inlineLookup):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (275953 => 275954)
--- trunk/Source/WTF/ChangeLog 2021-04-14 18:25:07 UTC (rev 275953)
+++ trunk/Source/WTF/ChangeLog 2021-04-14 18:42:32 UTC (rev 275954)
@@ -1,5 +1,15 @@
2021-04-14 Alex Christensen <[email protected]>
+ Revert important part of r275948
+ https://bugs.webkit.org/show_bug.cgi?id=224381
+
+ It caused an internal build failure.
+
+ * wtf/HashTable.h:
+ (WTF::KeyTraits>::inlineLookup):
+
+2021-04-14 Alex Christensen <[email protected]>
+
Reduce maximum HashTable entry size to 128 bytes
https://bugs.webkit.org/show_bug.cgi?id=224381
Modified: trunk/Source/WTF/wtf/HashTable.h (275953 => 275954)
--- trunk/Source/WTF/wtf/HashTable.h 2021-04-14 18:25:07 UTC (rev 275953)
+++ trunk/Source/WTF/wtf/HashTable.h 2021-04-14 18:42:32 UTC (rev 275954)
@@ -665,9 +665,7 @@
template<typename HashTranslator, typename T>
ALWAYS_INLINE auto HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::inlineLookup(const T& key) -> ValueType*
{
-#if !PLATFORM(WIN) // FIXME: Get this working in the Windows build.
- static_assert(sizeof(Value) <= 128, "Your HashTable types are too big to efficiently move when rehashing. Consider using UniqueRef instead");
-#endif
+ static_assert(sizeof(Value) <= 250, "Your HashTable types are too big to efficiently move when rehashing. Consider using UniqueRef instead");
checkKey<HashTranslator>(key);
unsigned k = 0;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes