aboutsummaryrefslogtreecommitdiffstats
path: root/src/bootstrap/gc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap/gc.h')
-rw-r--r--src/bootstrap/gc.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/bootstrap/gc.h b/src/bootstrap/gc.h
index 038c820..da53a21 100644
--- a/src/bootstrap/gc.h
+++ b/src/bootstrap/gc.h
@@ -4,13 +4,6 @@
4#include "objects.h" 4#include "objects.h"
5#include "environment.h" 5#include "environment.h"
6 6
7// Stack of root nodes.
8typedef struct RootNodes {
9 Object **buf;
10 size_t size;
11 size_t cap;
12} RootNodes;
13
14// Stack of active environments. 7// Stack of active environments.
15typedef struct ActiveEnvs { 8typedef struct ActiveEnvs {
16 Environment **buf; 9 Environment **buf;
@@ -32,7 +25,7 @@ typedef struct FreeList {
32} FreeList; 25} FreeList;
33 26
34typedef struct GC { 27typedef struct GC {
35 RootNodes roots; 28 Object **roots;
36 Environments envs; 29 Environments envs;
37 Object *objects; 30 Object *objects;
38 size_t obj_cap; 31 size_t obj_cap;