ladybird/Libraries/LibJS/Heap
Sergey Bugaev 2fbc37befc LibJS: Fix undefined behavior in HeapBlock
In C++, it's invalid to cast a block of memory to a complex type without
invoking its constructor. It's even more invalid to simply cast a pointer to a
block of memory to a pointer to *an abstract type*.

To fix this, make sure FreelistEntry is a concrete type, and call its
constructor whenever appropriate.
2020-06-01 17:37:44 +02:00
..
DeferGC.h LibJS: Add DeferGC, a RAII way to prevent GC temporarily 2020-04-19 12:09:32 +02:00
Handle.cpp LibJS: Add missing copyright headers 2020-03-18 20:21:06 +01:00
Handle.h LibJS: Add missing copyright headers 2020-03-18 20:21:06 +01:00
Heap.cpp LibJS: Use __APPLE__ instead of __MACH__ for MacOS build 2020-05-23 18:09:07 +02:00
Heap.h LibJS: Add MarkedValueList and use it for argument passing 2020-04-19 17:34:33 +02:00
HeapBlock.cpp LibJS: Fix undefined behavior in HeapBlock 2020-06-01 17:37:44 +02:00
HeapBlock.h LibJS: Fix undefined behavior in HeapBlock 2020-06-01 17:37:44 +02:00