ireps generated by top codegen are not registered to pic->irep. get them

marked manually.
This commit is contained in:
Yuichi Nishiwaki 2014-01-18 16:56:20 +09:00
parent 42c097a91f
commit 0db09b146c
1 changed files with 3 additions and 0 deletions

View File

@ -326,6 +326,9 @@ gc_mark_object(pic_state *pic, struct pic_object *obj)
if (proc->env) {
gc_mark_object(pic, (struct pic_object *)proc->env);
}
if (! proc->cfunc_p) {
gc_mark_object(pic, (struct pic_object *)proc->u.irep);
}
break;
}
case PIC_TT_PORT: {