diff options
| author | Michael Williamson <mike@zwobble.org> | 2024-03-19 15:33:09 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2024-03-19 15:33:28 +0000 |
| commit | 601da2dfae29eac952ef8297c5a0ace37dea4540 (patch) | |
| tree | 247b4e79e600915bd98587855d29f96bce121837 /runtime | |
| parent | 716a7e63392e01dff99111e41c6233655e76e466 (diff) | |
Move mark-and-sweep GC to its own directory
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/meson.build | 2 | ||||
| -rw-r--r-- | runtime/src/shed/gc/mark-and-sweep/gc.c (renamed from runtime/src/shed/gc.c) | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/runtime/meson.build b/runtime/meson.build index 310c34ed..cbc098df 100644 --- a/runtime/meson.build +++ b/runtime/meson.build @@ -14,11 +14,11 @@ static_library( 'shed', 'src/shed/alloc.c', 'src/shed/effects.c', - 'src/shed/gc.c', 'src/shed/ints.c', 'src/shed/primitives.c', 'src/shed/strings.c', 'src/shed/namespaces/Shed/Builtins.c', + 'src/shed/gc/mark-and-sweep/gc.c', ) if meson.get_external_property('shed_runtime_is_wasm', false) diff --git a/runtime/src/shed/gc.c b/runtime/src/shed/gc/mark-and-sweep/gc.c index 2d6ab05f..e874157a 100644 --- a/runtime/src/shed/gc.c +++ b/runtime/src/shed/gc/mark-and-sweep/gc.c @@ -1,9 +1,9 @@ #include <stdbool.h> -#include "../patio/patio.h" -#include "./alloc.h" -#include "./gc.h" -#include "./primitives.h" +#include "../../../patio/patio.h" +#include "../../alloc.h" +#include "../../gc.h" +#include "../../primitives.h" // == GC objects == |
