configurable heap/arena size

This commit is contained in:
Yuichi Nishiwaki 2013-10-15 13:20:45 +09:00
parent daece7ae67
commit 5874b7a350
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,9 @@
#ifndef PICCONF_H__
#define PICCONF_H__
#define PIC_ARENA_SIZE 1024
#define PIC_HEAP_SIZE 1024
#define DEBUG 1
#if DEBUG

View File

@ -12,9 +12,6 @@ struct pic_env {
struct pic_env *parent;
};
#define PIC_ARENA_SIZE 1024
#define PIC_HEAP_SIZE 1024
typedef struct {
pic_value *sp;
pic_value *stbase, *stend;