optimize var implementation

This commit is contained in:
Yuichi Nishiwaki
2015-06-08 22:28:17 +09:00
parent 5def1df320
commit 53a9e72413
10 changed files with 116 additions and 96 deletions
+3
View File
@@ -130,6 +130,9 @@ typedef struct {
pic_value libs;
xhash attrs;
pic_value ptable;
size_t pnum;
struct pic_reader *reader;
bool gc_enable;
+2
View File
@@ -21,6 +21,8 @@ struct pic_cont {
pic_code *ip;
pic_value ptable;
pic_value results;
};
+1
View File
@@ -50,6 +50,7 @@ struct pic_proc *pic_make_proc_irep(pic_state *, struct pic_irep *, struct pic_c
pic_sym *pic_proc_name(struct pic_proc *);
struct pic_dict *pic_proc_env(pic_state *, struct pic_proc *);
bool pic_proc_env_has(pic_state *, struct pic_proc *, const char *);
pic_value pic_proc_env_ref(pic_state *, struct pic_proc *, const char *);
void pic_proc_env_set(pic_state *, struct pic_proc *, const char *, pic_value);