Changeset 240448 in webkit
- Timestamp:
- Jan 24, 2019 2:07:33 PM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r240447 r240448 1 2019-01-24 Saam Barati <sbarati@apple.com> 2 3 Update ARM64EHash 4 https://bugs.webkit.org/show_bug.cgi?id=193776 5 <rdar://problem/47526457> 6 7 Reviewed by Mark Lam. 8 9 See radar for details. 10 11 * assembler/AssemblerBuffer.h: 12 (JSC::ARM64EHash::update): 13 (JSC::ARM64EHash::finalHash const): 14 1 15 2019-01-24 Saam Barati <sbarati@apple.com> 2 16 -
trunk/Source/JavaScriptCore/assembler/AssemblerBuffer.h
r239364 r240448 156 156 uint64_t a = static_cast<uint32_t>(tagInt(input, static_cast<PtrTag>(0)) >> 39); 157 157 uint64_t b = tagInt(input, static_cast<PtrTag>(0xb7e151628aed2a6a)) >> 23; 158 m_hash = a |b;158 m_hash = a ^ b; 159 159 } 160 160 uint32_t finalHash() const … … 163 163 uint64_t a = static_cast<uint32_t>(tagInt(hash, static_cast<PtrTag>(0xbf7158809cf4f3c7)) >> 39); 164 164 uint64_t b = tagInt(hash, static_cast<PtrTag>(0x62e7160f38b4da56)) >> 23; 165 return static_cast<uint32_t>(a |b);165 return static_cast<uint32_t>(a ^ b); 166 166 } 167 167 private:
Note: See TracChangeset
for help on using the changeset viewer.