Changeset 283285 in webkit
- Timestamp:
- Sep 29, 2021, 5:07:14 PM (5 years ago)
- Location:
- trunk/Source/bmalloc
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
bmalloc/Chunk.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/bmalloc/ChangeLog
r283264 r283285 1 2021-09-29 Basuke Suzuki <basuke.suzuki@sony.com> 2 3 [bmalloc] ChunkHash is not used since r261667 4 https://bugs.webkit.org/show_bug.cgi?id=230762 5 6 Reviewed by Alex Christensen. 7 8 The structure is the leftover when ObjectTypeTable was introduced at r261667. 9 10 * bmalloc/Chunk.h: 11 1 12 2021-09-29 Eric Hutchison <ehutchison@apple.com> 2 13 -
trunk/Source/bmalloc/bmalloc/Chunk.h
r252621 r283285 65 65 std::array<SmallLine, chunkSize / smallLineSize> m_lines { }; 66 66 std::array<SmallPage, chunkSize / smallPageSize> m_pages { }; 67 };68 69 struct ChunkHash {70 static unsigned hash(Chunk* key)71 {72 return static_cast<unsigned>(73 reinterpret_cast<uintptr_t>(key) / chunkSize);74 }75 67 }; 76 68
Note:
See TracChangeset
for help on using the changeset viewer.