1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-26 16:32:11 +00:00
serenity/Userland/Libraries/LibJS/Heap
Luke Wilde c97244d3a5 LibJS: Add Handle specialisation for Value
This allows you to keep an arbitrary JS::Value alive without having to
hook visit_edges somewhere, e.g. by being a NativeFunction that
overrides visit_edges.

For example, this allows you to store JS::Handle<JS::Value> as the key
of a HashMap. This will be used to keep arbitrary Values alive in
the key of a temporary HashMap in Array.prototype.groupByToMap.

Co-authored-by: Ali Mohammad Pur <mpfard@serenityos.org>
2022-01-05 11:21:38 +01:00
..
BlockAllocator.cpp
BlockAllocator.h
Cell.h AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
CellAllocator.cpp
CellAllocator.h
DeferGC.h
Handle.cpp
Handle.h LibJS: Add Handle specialisation for Value 2022-01-05 11:21:38 +01:00
Heap.cpp LibJS: Add MarkedVector<T> 2021-12-16 22:48:17 +01:00
Heap.h LibJS: Add MarkedVector<T> 2021-12-16 22:48:17 +01:00
HeapBlock.cpp
HeapBlock.h
MarkedVector.cpp LibJS: Add MarkedVector<T> 2021-12-16 22:48:17 +01:00
MarkedVector.h LibJS: Fix typo in MarkedVector::end() 2021-12-18 11:30:10 +01:00