diff options
Diffstat (limited to 'src/lj_gc.c')
-rw-r--r-- | src/lj_gc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lj_gc.c b/src/lj_gc.c index 646a27b2..5a238542 100644 --- a/src/lj_gc.c +++ b/src/lj_gc.c | |||
@@ -69,8 +69,10 @@ static void gc_mark(global_State *g, GCobj *o) | |||
69 | SBufExt *sbx = (SBufExt *)uddata(gco2ud(o)); | 69 | SBufExt *sbx = (SBufExt *)uddata(gco2ud(o)); |
70 | if (sbufiscow(sbx) && gcref(sbx->cowref)) | 70 | if (sbufiscow(sbx) && gcref(sbx->cowref)) |
71 | gc_markobj(g, gcref(sbx->cowref)); | 71 | gc_markobj(g, gcref(sbx->cowref)); |
72 | if (gcref(sbx->dict)) | 72 | if (gcref(sbx->dict_str)) |
73 | gc_markobj(g, gcref(sbx->dict)); | 73 | gc_markobj(g, gcref(sbx->dict_str)); |
74 | if (gcref(sbx->dict_mt)) | ||
75 | gc_markobj(g, gcref(sbx->dict_mt)); | ||
74 | } | 76 | } |
75 | } else if (LJ_UNLIKELY(gct == ~LJ_TUPVAL)) { | 77 | } else if (LJ_UNLIKELY(gct == ~LJ_TUPVAL)) { |
76 | GCupval *uv = gco2uv(o); | 78 | GCupval *uv = gco2uv(o); |