[gc] mark predefined symbols

This commit is contained in:
Yuichi Nishiwaki 2013-10-16 09:29:39 +09:00
parent a90e124697
commit 62303ed91e
1 changed files with 7 additions and 0 deletions

View File

@ -175,6 +175,13 @@ gc_mark_phase(pic_state *pic)
do { do {
gc_mark(pic, env->assoc); gc_mark(pic, env->assoc);
} while ((env = env->parent) != NULL); } while ((env = env->parent) != NULL);
gc_mark(pic, pic->sDEFINE);
gc_mark(pic, pic->sCONS);
gc_mark(pic, pic->sADD);
gc_mark(pic, pic->sSUB);
gc_mark(pic, pic->sMUL);
gc_mark(pic, pic->sDIV);
} }
static bool static bool