浏览代码

Fix for last commit.

Mike Pall 10 年之前
父节点
当前提交
bca5da8849
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/lj_record.c

+ 1 - 0
src/lj_record.c

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