mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-17 07:50:04 +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
Notes:
sideshowbarker
2024-07-18 17:13:01 +09:00
Author: https://github.com/ADKaster
Commit: 07c62f9f42
Pull-request: https://github.com/SerenityOS/serenity/pull/7557
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/linusg
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