aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2020-12-28 12:40:20 +0100
committerMike Pall <mike>2020-12-28 12:40:20 +0100
commit65378759f38bb946e40f31799992434effd01bba (patch)
treea272bb087b24595a9ac2bd19e189ffd0913c6f3f
parent351bb43a07eace6a5f67de7954c154566c06f2ca (diff)
parent56c04accf975bff2519c34721dccbbdb7b8e6963 (diff)
downloadluajit-65378759f38bb946e40f31799992434effd01bba.tar.gz
luajit-65378759f38bb946e40f31799992434effd01bba.tar.bz2
luajit-65378759f38bb946e40f31799992434effd01bba.zip
Merge branch 'master' into v2.1
Diffstat (limited to '')
-rw-r--r--src/lj_crecord.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lj_crecord.c b/src/lj_crecord.c
index f6824bff..9b0e0d8e 100644
--- a/src/lj_crecord.c
+++ b/src/lj_crecord.c
@@ -1050,6 +1050,11 @@ static void crec_alloc(jit_State *J, RecordFFData *rd, CTypeID id)
1050 dp = emitir(IRT(IR_ADD, IRT_PTR), trcd, 1050 dp = emitir(IRT(IR_ADD, IRT_PTR), trcd,
1051 lj_ir_kintp(J, df->size + sizeof(GCcdata))); 1051 lj_ir_kintp(J, df->size + sizeof(GCcdata)));
1052 crec_ct_tv(J, dc, dp, sp, sval); 1052 crec_ct_tv(J, dc, dp, sp, sval);
1053 if ((d->info & CTF_UNION)) {
1054 if (d->size != dc->size) /* NYI: partial init of union. */
1055 lj_trace_err(J, LJ_TRERR_NYICONV);
1056 break;
1057 }
1053 } else if (!ctype_isconstval(df->info)) { 1058 } else if (!ctype_isconstval(df->info)) {
1054 /* NYI: init bitfields and sub-structures. */ 1059 /* NYI: init bitfields and sub-structures. */
1055 lj_trace_err(J, LJ_TRERR_NYICONV); 1060 lj_trace_err(J, LJ_TRERR_NYICONV);