mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
byterun gc integration fix: move __gc_stack_top by 1
This commit is contained in:
parent
c5dfe649e0
commit
956dde00a3
5 changed files with 57 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 (640000)
|
||||
#define MINIMUM_HEAP_CAPACITY (16)
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue