mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
global vars implementation, todo gc problems
This commit is contained in:
parent
474b0a8ed2
commit
aff30ad7c1
12 changed files with 76 additions and 52 deletions
|
|
@ -37,7 +37,7 @@
|
|||
#define SET_FORWARD_ADDRESS(x, addr) (x = ((x & 3) | ((ptrt)(addr))))
|
||||
// if heap is full after gc shows in how many times it has to be extended
|
||||
#define EXTRA_ROOM_HEAP_COEFFICIENT 2
|
||||
#define MINIMUM_HEAP_CAPACITY (64)
|
||||
#define MINIMUM_HEAP_CAPACITY (640000)
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue