mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibJS: Remove unused HeapBlock private member function
FreelistEntries are constructed manually in deallocate() instead of using this helper.
This commit is contained in:
parent
eae14f4ba6
commit
07c62f9f42
1 changed files with 0 additions and 5 deletions
|
@ -96,11 +96,6 @@ private:
|
|||
return reinterpret_cast<Cell*>(&m_storage[index * cell_size()]);
|
||||
}
|
||||
|
||||
FreelistEntry* init_freelist_entry(size_t index)
|
||||
{
|
||||
return new (&m_storage[index * cell_size()]) FreelistEntry();
|
||||
}
|
||||
|
||||
Heap& m_heap;
|
||||
size_t m_cell_size { 0 };
|
||||
size_t m_next_lazy_freelist_index { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue