Skip to content

Commit

Permalink
lj_trace_alloc: Copy T->szirmcode to new trace
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed Aug 9, 2018
1 parent 4782265 commit 66f9234
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lj_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ GCtrace * lj_trace_alloc(lua_State *L, GCtrace *T)
T2->nk = T->nk;
T2->nsnap = T->nsnap;
T2->nsnapmap = T->nsnapmap;
T2->szirmcode = T->szirmcode;
memcpy(p, T->ir + T->nk, szins);
return T2;
}
Expand Down

0 comments on commit 66f9234

Please sign in to comment.