Changeset 268170 in webkit for trunk/Source/JavaScriptCore/assembler/AssemblerBuffer.h
- Timestamp:
- Oct 7, 2020, 9:18:58 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/assembler/AssemblerBuffer.h
r262402 r268170 188 188 { 189 189 uint64_t input = value ^ m_hash; 190 uint64_t a = static_cast<uint32_t>(tagInt (input, static_cast<PtrTag>(0)) >> 39);191 uint64_t b = tagInt (input, static_cast<PtrTag>(0xb7e151628aed2a6a)) >> 23;190 uint64_t a = static_cast<uint32_t>(tagInt<static_cast<PtrTag>(0)>(input) >> 39); 191 uint64_t b = tagInt<static_cast<PtrTag>(0xb7e151628aed2a6a)>(input) >> 23; 192 192 m_hash = a ^ b; 193 193 } … … 195 195 { 196 196 uint64_t hash = m_hash; 197 uint64_t a = static_cast<uint32_t>(tagInt (hash, static_cast<PtrTag>(0xbf7158809cf4f3c7)) >> 39);198 uint64_t b = tagInt (hash, static_cast<PtrTag>(0x62e7160f38b4da56)) >> 23;197 uint64_t a = static_cast<uint32_t>(tagInt<static_cast<PtrTag>(0xbf7158809cf4f3c7)>(hash) >> 39); 198 uint64_t b = tagInt<static_cast<PtrTag>(0x62e7160f38b4da56)>(hash) >> 23; 199 199 return static_cast<uint32_t>(a ^ b); 200 200 }
Note:
See TracChangeset
for help on using the changeset viewer.