remove unused filed in pic_irep

This commit is contained in:
Yuichi Nishiwaki 2015-08-05 10:32:01 +09:00
parent a479ec21ec
commit fa8557823f
2 changed files with 1 additions and 2 deletions

View File

@ -695,7 +695,6 @@ codegen_context_destroy(pic_state *pic, codegen_context *cxt)
irep->localc = (int)cxt->locals->len;
irep->capturec = (int)cxt->captures->len;
irep->code = pic_realloc(pic, cxt->code, sizeof(pic_code) * cxt->clen);
irep->clen = cxt->clen;
irep->irep = pic_realloc(pic, cxt->irep, sizeof(struct pic_irep *) * cxt->ilen);
irep->ilen = cxt->ilen;
irep->pool = pic_realloc(pic, cxt->pool, sizeof(pic_value) * cxt->plen);

View File

@ -28,7 +28,7 @@ struct pic_irep {
bool varg;
struct pic_irep **irep;
pic_value *pool;
size_t clen, ilen, plen, slen;
size_t ilen, plen;
};
pic_sym *pic_resolve(pic_state *, pic_value, struct pic_env *);