diff --git a/src/lj_bcwrite.c b/src/lj_bcwrite.c index ae90727e..4ea868a0 100644 --- a/src/lj_bcwrite.c +++ b/src/lj_bcwrite.c @@ -178,6 +178,7 @@ static void bcwrite_kgc(BCWriteCtx *ctx, GCproto *pt) } else { lua_assert(o->gch.gct == ~LJ_TTAB); tp = BCDUMP_KGC_TAB; + need = 1+2*5; } /* Write constant type. */ bcwrite_need(ctx, need);