Fix for last commit.

This commit is contained in:
Mike Pall 2015-05-19 02:25:16 +02:00
parent b82fc3ddc0
commit bca5da8849

View File

@ -1171,6 +1171,7 @@ static void rec_idx_bump(jit_State *J, RecordIndex *ix)
if (tvisnil(o)) settabV(J->L, o, tpl); if (tvisnil(o)) settabV(J->L, o, tpl);
} }
lj_tab_resize(J->L, tpl, tb->asize, nhbits); lj_tab_resize(J->L, tpl, tb->asize, nhbits);
node = noderef(tpl->node);
hmask = tpl->hmask; hmask = tpl->hmask;
for (i = 0; i <= hmask; i++) { for (i = 0; i <= hmask; i++) {
/* This is safe, since template tables only hold immutable values. */ /* This is safe, since template tables only hold immutable values. */