fixed a bug of not marking hcl->_undef in gc.c

This commit is contained in:
2022-07-31 11:29:58 +00:00
parent e12033f81a
commit b4eb3d9768
2 changed files with 26 additions and 0 deletions

View File

@ -310,6 +310,7 @@ static HCL_INLINE void gc_ms_mark_roots (hcl_t* hcl)
hcl->processor->active->sp = HCL_SMOOI_TO_OOP(hcl->sp);
}
gc_ms_mark (hcl, hcl->_undef);
gc_ms_mark (hcl, hcl->_nil);
gc_ms_mark (hcl, hcl->_true);
gc_ms_mark (hcl, hcl->_false);