Title: [276217] trunk/Source/_javascript_Core
- Revision
- 276217
- Author
- [email protected]
- Date
- 2021-04-17 18:19:47 -0700 (Sat, 17 Apr 2021)
Log Message
Unreviewed, suppress warnings
https://bugs.webkit.org/show_bug.cgi?id=224616
* runtime/HashMapImpl.h:
* runtime/HashMapImplInlines.h:
(JSC::areKeysEqual):
(JSC::wangsInt64Hash):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (276216 => 276217)
--- trunk/Source/_javascript_Core/ChangeLog 2021-04-18 01:03:18 UTC (rev 276216)
+++ trunk/Source/_javascript_Core/ChangeLog 2021-04-18 01:19:47 UTC (rev 276217)
@@ -1,3 +1,13 @@
+2021-04-17 Yusuke Suzuki <[email protected]>
+
+ Unreviewed, suppress warnings
+ https://bugs.webkit.org/show_bug.cgi?id=224616
+
+ * runtime/HashMapImpl.h:
+ * runtime/HashMapImplInlines.h:
+ (JSC::areKeysEqual):
+ (JSC::wangsInt64Hash):
+
2021-04-16 Mark Lam <[email protected]>
More changes to support the TerminationException.
Modified: trunk/Source/_javascript_Core/runtime/HashMapImpl.h (276216 => 276217)
--- trunk/Source/_javascript_Core/runtime/HashMapImpl.h 2021-04-18 01:03:18 UTC (rev 276216)
+++ trunk/Source/_javascript_Core/runtime/HashMapImpl.h 2021-04-18 01:19:47 UTC (rev 276217)
@@ -230,12 +230,12 @@
}
};
-ALWAYS_INLINE static bool areKeysEqual(JSGlobalObject*, JSValue, JSValue);
+ALWAYS_INLINE bool areKeysEqual(JSGlobalObject*, JSValue, JSValue);
// Note that normalization is inlined in DFG's NormalizeMapKey.
// Keep in sync with the implementation of DFG and FTL normalization.
ALWAYS_INLINE JSValue normalizeMapKey(JSValue key);
-static ALWAYS_INLINE uint32_t wangsInt64Hash(uint64_t key);
+ALWAYS_INLINE uint32_t wangsInt64Hash(uint64_t key);
ALWAYS_INLINE uint32_t jsMapHash(JSBigInt*);
ALWAYS_INLINE uint32_t jsMapHash(JSGlobalObject*, VM&, JSValue);
ALWAYS_INLINE uint32_t shouldShrink(uint32_t capacity, uint32_t keyCount);
Modified: trunk/Source/_javascript_Core/runtime/HashMapImplInlines.h (276216 => 276217)
--- trunk/Source/_javascript_Core/runtime/HashMapImplInlines.h 2021-04-18 01:03:18 UTC (rev 276216)
+++ trunk/Source/_javascript_Core/runtime/HashMapImplInlines.h 2021-04-18 01:19:47 UTC (rev 276217)
@@ -31,7 +31,7 @@
namespace JSC {
-ALWAYS_INLINE static bool areKeysEqual(JSGlobalObject* globalObject, JSValue a, JSValue b)
+ALWAYS_INLINE bool areKeysEqual(JSGlobalObject* globalObject, JSValue a, JSValue b)
{
// We want +0 and -0 to be compared to true here. sameValue() itself doesn't
// guarantee that, however, we normalize all keys before comparing and storing
@@ -67,7 +67,7 @@
return key;
}
-static ALWAYS_INLINE uint32_t wangsInt64Hash(uint64_t key)
+ALWAYS_INLINE uint32_t wangsInt64Hash(uint64_t key)
{
key += ~(key << 32);
key ^= (key >> 22);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes