[bugfix] irep->name is missed to mark

This commit is contained in:
Yuichi Nishiwaki 2015-01-20 02:51:51 +09:00
parent 914242a531
commit c5f711ddd6
1 changed files with 2 additions and 0 deletions

View File

@ -440,6 +440,8 @@ gc_mark_object(pic_state *pic, struct pic_object *obj)
struct pic_irep *irep = (struct pic_irep *)obj;
size_t i;
gc_mark_object(pic, (struct pic_object *)irep->name);
for (i = 0; i < irep->ilen; ++i) {
gc_mark_object(pic, (struct pic_object *)irep->irep[i]);
}