ladybird/Userland/Libraries/LibJS/Heap
Linus Groh e992a9f469 LibJS+LibWeb: Replace GlobalObject with Realm in Heap::allocate<T>()
This is a continuation of the previous three commits.

Now that create() receives the allocating realm, we can simply forward
that to allocate(), which accounts for the majority of these changes.
Additionally, we can get rid of the realm_from_global_object() in one
place, with one more remaining in VM::throw_completion().
2022-08-23 13:58:30 +01:00
..
BlockAllocator.cpp Libraries: Use default constructors/destructors in LibJS 2022-03-16 16:19:40 +00:00
BlockAllocator.h Libraries: Use default constructors/destructors in LibJS 2022-03-16 16:19:40 +00:00
Cell.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
CellAllocator.cpp LibJS: Use default instead of an empty constructor/destructor 2021-09-16 17:17:13 +02:00
CellAllocator.h Userland: Remove a bunch of unnecessary Vector imports 2022-01-28 23:40:25 +01:00
DeferGC.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Handle.cpp LibJS: Move Cell.{cpp,h} from Runtime/ to Heap/ 2021-05-17 19:53:00 +02:00
Handle.h LibJS: Make Handle<Value>::is_null() also consider the contained value 2022-04-05 11:46:48 +02:00
Heap.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
Heap.h LibJS+LibWeb: Replace GlobalObject with Realm in Heap::allocate<T>() 2022-08-23 13:58:30 +01:00
HeapBlock.cpp LibJS: Fix ASAN poisoning range in new HeapBlocks 2021-09-11 17:00:07 +02:00
HeapBlock.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
MarkedVector.cpp LibJS: Let MarkedVector<T> inherit from Vector and handle Cell* + Value 2022-02-09 12:25:27 +00:00
MarkedVector.h LibJS: Let MarkedVector<T> inherit from Vector and handle Cell* + Value 2022-02-09 12:25:27 +00:00