Changeset 276217 in webkit
- Timestamp:
- Apr 17, 2021, 6:19:47 PM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
runtime/HashMapImpl.h (modified) (1 diff)
-
runtime/HashMapImplInlines.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r276162 r276217 1 2021-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 1 11 2021-04-16 Mark Lam <mark.lam@apple.com> 2 12 -
trunk/Source/JavaScriptCore/runtime/HashMapImpl.h
r276039 r276217 231 231 }; 232 232 233 ALWAYS_INLINE staticbool areKeysEqual(JSGlobalObject*, JSValue, JSValue);233 ALWAYS_INLINE bool areKeysEqual(JSGlobalObject*, JSValue, JSValue); 234 234 235 235 // Note that normalization is inlined in DFG's NormalizeMapKey. 236 236 // Keep in sync with the implementation of DFG and FTL normalization. 237 237 ALWAYS_INLINE JSValue normalizeMapKey(JSValue key); 238 staticALWAYS_INLINE uint32_t wangsInt64Hash(uint64_t key);238 ALWAYS_INLINE uint32_t wangsInt64Hash(uint64_t key); 239 239 ALWAYS_INLINE uint32_t jsMapHash(JSBigInt*); 240 240 ALWAYS_INLINE uint32_t jsMapHash(JSGlobalObject*, VM&, JSValue); -
trunk/Source/JavaScriptCore/runtime/HashMapImplInlines.h
r276121 r276217 32 32 namespace JSC { 33 33 34 ALWAYS_INLINE staticbool areKeysEqual(JSGlobalObject* globalObject, JSValue a, JSValue b)34 ALWAYS_INLINE bool areKeysEqual(JSGlobalObject* globalObject, JSValue a, JSValue b) 35 35 { 36 36 // We want +0 and -0 to be compared to true here. sameValue() itself doesn't … … 68 68 } 69 69 70 staticALWAYS_INLINE uint32_t wangsInt64Hash(uint64_t key)70 ALWAYS_INLINE uint32_t wangsInt64Hash(uint64_t key) 71 71 { 72 72 key += ~(key << 32);
Note:
See TracChangeset
for help on using the changeset viewer.