From 62303ed91e98549062f5cbd8292f879d79d1b791 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Wed, 16 Oct 2013 09:29:39 +0900 Subject: [PATCH] [gc] mark predefined symbols --- src/gc.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/gc.c b/src/gc.c index eda14f25..951a66ac 100644 --- a/src/gc.c +++ b/src/gc.c @@ -175,6 +175,13 @@ gc_mark_phase(pic_state *pic) do { gc_mark(pic, env->assoc); } 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