remove unused filed in pic_irep
This commit is contained in:
parent
a479ec21ec
commit
fa8557823f
|
@ -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);
|
||||
|
|
|
@ -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 *);
|
||||
|
|
Loading…
Reference in New Issue