store irep objects inside parent irep object

This commit is contained in:
Yuichi Nishiwaki
2014-01-18 21:48:50 +09:00
parent 4f5743ad0f
commit 5e616e7774
6 changed files with 45 additions and 32 deletions
-2
View File
@@ -87,8 +87,6 @@ typedef struct {
pic_value lib_tbl;
struct pic_lib *lib;
struct pic_irep **irep;
size_t ilen, icapa;
pic_value *pool;
size_t plen, pcapa;
+2 -1
View File
@@ -61,10 +61,11 @@ struct pic_code {
struct pic_irep {
PIC_OBJECT_HEADER
struct pic_code *code;
size_t clen;
int argc, localc;
unsigned *cv_tbl, cv_num;
bool varg;
struct pic_irep **irep;
size_t clen, ilen;
};
void pic_dump_irep(pic_state *, struct pic_irep *);