Quellcode durchsuchen

Fix for last commit.

Mike Pall vor 10 Jahren
Ursprung
Commit
bca5da8849
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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. */