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

Changeset 283285 in webkit


Ignore:
Timestamp:
Sep 29, 2021, 5:07:14 PM (5 years ago)
Author:
basuke.suzuki@sony.com
Message:

[bmalloc] ChunkHash is not used since r261667
https://bugs.webkit.org/show_bug.cgi?id=230762

Reviewed by Alex Christensen.

The structure is the leftover when ObjectTypeTable was introduced at r261667.

  • bmalloc/Chunk.h:
Location:
trunk/Source/bmalloc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/bmalloc/ChangeLog

    r283264 r283285  
     12021-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
    1122021-09-29  Eric Hutchison  <ehutchison@apple.com>
    213
  • trunk/Source/bmalloc/bmalloc/Chunk.h

    r252621 r283285  
    6565    std::array<SmallLine, chunkSize / smallLineSize> m_lines { };
    6666    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     }
    7567};
    7668
Note: See TracChangeset for help on using the changeset viewer.