summaryrefslogtreecommitdiff
path: root/src/lj_crecord.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_crecord.c')
-rw-r--r--src/lj_crecord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_crecord.c b/src/lj_crecord.c
index 18e1ee13..6cb565c3 100644
--- a/src/lj_crecord.c
+++ b/src/lj_crecord.c
@@ -654,7 +654,7 @@ static void crec_alloc(jit_State *J, RecordFFData *rd, CTypeID id)
654 CTInfo info = lj_ctype_info(cts, id, &sz); 654 CTInfo info = lj_ctype_info(cts, id, &sz);
655 CType *d = ctype_raw(cts, id); 655 CType *d = ctype_raw(cts, id);
656 TRef trid; 656 TRef trid;
657 if (sz == 0 || sz > 64 || (info & CTF_VLA) || ctype_align(info) > CT_MEMALIGN) 657 if (!sz || sz > 128 || (info & CTF_VLA) || ctype_align(info) > CT_MEMALIGN)
658 lj_trace_err(J, LJ_TRERR_NYICONV); /* NYI: large/special allocations. */ 658 lj_trace_err(J, LJ_TRERR_NYICONV); /* NYI: large/special allocations. */
659 trid = lj_ir_kint(J, id); 659 trid = lj_ir_kint(J, id);
660 /* Use special instruction to box pointer or 32/64 bit integer. */ 660 /* Use special instruction to box pointer or 32/64 bit integer. */