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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lj_crecord.c b/src/lj_crecord.c
index c6577975..681c5029 100644
--- a/src/lj_crecord.c
+++ b/src/lj_crecord.c
@@ -566,8 +566,7 @@ static void crec_alloc(jit_State *J, RecordFFData *rd, CTypeID id)
566 CType *d = ctype_raw(cts, id); 566 CType *d = ctype_raw(cts, id);
567 TRef trcd = emitir(IRTG(IR_CNEW, IRT_CDATA), trid, TREF_NIL); 567 TRef trcd = emitir(IRTG(IR_CNEW, IRT_CDATA), trid, TREF_NIL);
568 J->base[0] = trcd; 568 J->base[0] = trcd;
569 if (J->base[1] && !J->base[2] && 569 if (J->base[1] && !J->base[2] && !lj_cconv_multi_init(d, &rd->argv[1])) {
570 !lj_cconv_multi_init(cts, d, &rd->argv[1])) {
571 goto single_init; 570 goto single_init;
572 } else if (ctype_isarray(d->info)) { 571 } else if (ctype_isarray(d->info)) {
573 CType *dc = ctype_rawchild(cts, d); /* Array element type. */ 572 CType *dc = ctype_rawchild(cts, d); /* Array element type. */