mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
65378759f3
@ -1050,6 +1050,11 @@ static void crec_alloc(jit_State *J, RecordFFData *rd, CTypeID id)
|
||||
dp = emitir(IRT(IR_ADD, IRT_PTR), trcd,
|
||||
lj_ir_kintp(J, df->size + sizeof(GCcdata)));
|
||||
crec_ct_tv(J, dc, dp, sp, sval);
|
||||
if ((d->info & CTF_UNION)) {
|
||||
if (d->size != dc->size) /* NYI: partial init of union. */
|
||||
lj_trace_err(J, LJ_TRERR_NYICONV);
|
||||
break;
|
||||
}
|
||||
} else if (!ctype_isconstval(df->info)) {
|
||||
/* NYI: init bitfields and sub-structures. */
|
||||
lj_trace_err(J, LJ_TRERR_NYICONV);
|
||||
|
Loading…
Reference in New Issue
Block a user