⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 276217 in webkit


Ignore:
Timestamp:
Apr 17, 2021, 6:19:47 PM (5 years ago)
Author:
ysuzuki@apple.com
Message:

Unreviewed, suppress warnings
https://bugs.webkit.org/show_bug.cgi?id=224616

  • runtime/HashMapImpl.h:
  • runtime/HashMapImplInlines.h:

(JSC::areKeysEqual):
(JSC::wangsInt64Hash):

Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r276162 r276217  
     12021-04-17  Yusuke Suzuki  <ysuzuki@apple.com>
     2
     3        Unreviewed, suppress warnings
     4        https://bugs.webkit.org/show_bug.cgi?id=224616
     5
     6        * runtime/HashMapImpl.h:
     7        * runtime/HashMapImplInlines.h:
     8        (JSC::areKeysEqual):
     9        (JSC::wangsInt64Hash):
     10
    1112021-04-16  Mark Lam  <mark.lam@apple.com>
    212
  • trunk/Source/JavaScriptCore/runtime/HashMapImpl.h

    r276039 r276217  
    231231};
    232232
    233 ALWAYS_INLINE static bool areKeysEqual(JSGlobalObject*, JSValue, JSValue);
     233ALWAYS_INLINE bool areKeysEqual(JSGlobalObject*, JSValue, JSValue);
    234234
    235235// Note that normalization is inlined in DFG's NormalizeMapKey.
    236236// Keep in sync with the implementation of DFG and FTL normalization.
    237237ALWAYS_INLINE JSValue normalizeMapKey(JSValue key);
    238 static ALWAYS_INLINE uint32_t wangsInt64Hash(uint64_t key);
     238ALWAYS_INLINE uint32_t wangsInt64Hash(uint64_t key);
    239239ALWAYS_INLINE uint32_t jsMapHash(JSBigInt*);
    240240ALWAYS_INLINE uint32_t jsMapHash(JSGlobalObject*, VM&, JSValue);
  • trunk/Source/JavaScriptCore/runtime/HashMapImplInlines.h

    r276121 r276217  
    3232namespace JSC {
    3333
    34 ALWAYS_INLINE static bool areKeysEqual(JSGlobalObject* globalObject, JSValue a, JSValue b)
     34ALWAYS_INLINE bool areKeysEqual(JSGlobalObject* globalObject, JSValue a, JSValue b)
    3535{
    3636    // We want +0 and -0 to be compared to true here. sameValue() itself doesn't
     
    6868}
    6969
    70 static ALWAYS_INLINE uint32_t wangsInt64Hash(uint64_t key)
     70ALWAYS_INLINE uint32_t wangsInt64Hash(uint64_t key)
    7171{
    7272    key += ~(key << 32);
Note: See TracChangeset for help on using the changeset viewer.