diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lj_snap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_snap.c b/src/lj_snap.c index 4d211898..1c978c26 100644 --- a/src/lj_snap.c +++ b/src/lj_snap.c | |||
| @@ -708,7 +708,7 @@ static void snap_unsink(jit_State *J, GCtrace *T, ExitState *ex, | |||
| 708 | ir->o == IR_CNEW || ir->o == IR_CNEWI); | 708 | ir->o == IR_CNEW || ir->o == IR_CNEWI); |
| 709 | #if LJ_HASFFI | 709 | #if LJ_HASFFI |
| 710 | if (ir->o == IR_CNEW || ir->o == IR_CNEWI) { | 710 | if (ir->o == IR_CNEW || ir->o == IR_CNEWI) { |
| 711 | CTState *cts = ctype_ctsG(J2G(J)); | 711 | CTState *cts = ctype_cts(J->L); |
| 712 | CTypeID id = (CTypeID)T->ir[ir->op1].i; | 712 | CTypeID id = (CTypeID)T->ir[ir->op1].i; |
| 713 | CTSize sz = lj_ctype_size(cts, id); | 713 | CTSize sz = lj_ctype_size(cts, id); |
| 714 | GCcdata *cd = lj_cdata_new(cts, id, sz); | 714 | GCcdata *cd = lj_cdata_new(cts, id, sz); |
