*
This commit is contained in:
parent
54d12060ec
commit
80d8f87883
18 changed files with 292 additions and 76 deletions
6
src/gc.h
6
src/gc.h
|
|
@ -4,8 +4,12 @@
|
|||
#include "common.h"
|
||||
#include "object.h"
|
||||
|
||||
#define GC_DEBUG 0
|
||||
#define GC_DEBUG 1
|
||||
#if GC_DEBUG
|
||||
#define HEAP_BYTES (8 * 1024)
|
||||
#else
|
||||
#define HEAP_BYTES (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
typedef struct Gs {
|
||||
U8 *start, *end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue