mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
LibJS: Move WeakContainer into the Heap folder
While this is used in the implementation of Runtime objects itself, Heap seems like a more appropriate home. This will also help in factoring out the GC implementation into it's own library as the heap explicitly has knowledge of WeakContainer.
This commit is contained in:
parent
2f6bcb3538
commit
cf27eef583
Notes:
github-actions[bot]
2024-11-13 10:09:42 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/cf27eef583d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2284
8 changed files with 7 additions and 7 deletions
|
@ -27,6 +27,7 @@ set(SOURCES
|
|||
Heap/Heap.cpp
|
||||
Heap/HeapBlock.cpp
|
||||
Heap/MarkedVector.cpp
|
||||
Heap/WeakContainer.cpp
|
||||
Lexer.cpp
|
||||
MarkupGenerator.cpp
|
||||
Module.cpp
|
||||
|
@ -253,7 +254,6 @@ set(SOURCES
|
|||
Runtime/Utf16String.cpp
|
||||
Runtime/Value.cpp
|
||||
Runtime/VM.cpp
|
||||
Runtime/WeakContainer.cpp
|
||||
Runtime/WeakMap.cpp
|
||||
Runtime/WeakMapConstructor.cpp
|
||||
Runtime/WeakMapPrototype.cpp
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <LibJS/Heap/HeapRoot.h>
|
||||
#include <LibJS/Heap/Internals.h>
|
||||
#include <LibJS/Heap/MarkedVector.h>
|
||||
#include <LibJS/Runtime/WeakContainer.h>
|
||||
#include <LibJS/Heap/WeakContainer.h>
|
||||
|
||||
namespace JS {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <LibJS/Heap/Heap.h>
|
||||
#include <LibJS/Runtime/WeakContainer.h>
|
||||
#include <LibJS/Heap/WeakContainer.h>
|
||||
|
||||
namespace JS {
|
||||
|
|
@ -8,12 +8,12 @@
|
|||
|
||||
#include <AK/SinglyLinkedList.h>
|
||||
#include <LibJS/Heap/GCPtr.h>
|
||||
#include <LibJS/Heap/WeakContainer.h>
|
||||
#include <LibJS/Runtime/FunctionObject.h>
|
||||
#include <LibJS/Runtime/GlobalObject.h>
|
||||
#include <LibJS/Runtime/JobCallback.h>
|
||||
#include <LibJS/Runtime/Object.h>
|
||||
#include <LibJS/Runtime/Value.h>
|
||||
#include <LibJS/Runtime/WeakContainer.h>
|
||||
|
||||
namespace JS {
|
||||
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/HashMap.h>
|
||||
#include <LibJS/Heap/WeakContainer.h>
|
||||
#include <LibJS/Runtime/GlobalObject.h>
|
||||
#include <LibJS/Runtime/Object.h>
|
||||
#include <LibJS/Runtime/WeakContainer.h>
|
||||
|
||||
namespace JS {
|
||||
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibJS/Heap/WeakContainer.h>
|
||||
#include <LibJS/Runtime/GlobalObject.h>
|
||||
#include <LibJS/Runtime/Object.h>
|
||||
#include <LibJS/Runtime/WeakContainer.h>
|
||||
|
||||
namespace JS {
|
||||
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/HashTable.h>
|
||||
#include <LibJS/Heap/WeakContainer.h>
|
||||
#include <LibJS/Runtime/GlobalObject.h>
|
||||
#include <LibJS/Runtime/Object.h>
|
||||
#include <LibJS/Runtime/WeakContainer.h>
|
||||
|
||||
namespace JS {
|
||||
|
||||
|
|
Loading…
Reference in a new issue