configurable heap/arena size
This commit is contained in:
parent
daece7ae67
commit
5874b7a350
|
@ -1,6 +1,9 @@
|
||||||
#ifndef PICCONF_H__
|
#ifndef PICCONF_H__
|
||||||
#define PICCONF_H__
|
#define PICCONF_H__
|
||||||
|
|
||||||
|
#define PIC_ARENA_SIZE 1024
|
||||||
|
#define PIC_HEAP_SIZE 1024
|
||||||
|
|
||||||
#define DEBUG 1
|
#define DEBUG 1
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
|
|
@ -12,9 +12,6 @@ struct pic_env {
|
||||||
struct pic_env *parent;
|
struct pic_env *parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define PIC_ARENA_SIZE 1024
|
|
||||||
#define PIC_HEAP_SIZE 1024
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
pic_value *sp;
|
pic_value *sp;
|
||||||
pic_value *stbase, *stend;
|
pic_value *stbase, *stend;
|
||||||
|
|
Loading…
Reference in New Issue