ソースを参照

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. */