mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 07:34:07 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
72c661e2b8
@ -702,6 +702,7 @@ static void cconv_substruct_init(CTState *cts, CType *d, uint8_t *dp,
|
|||||||
} else if (ctype_isxattrib(df->info, CTA_SUBTYPE)) {
|
} else if (ctype_isxattrib(df->info, CTA_SUBTYPE)) {
|
||||||
cconv_substruct_init(cts, ctype_rawchild(cts, df),
|
cconv_substruct_init(cts, ctype_rawchild(cts, df),
|
||||||
dp+df->size, o, len, ip);
|
dp+df->size, o, len, ip);
|
||||||
|
if ((d->info & CTF_UNION)) break;
|
||||||
} /* Ignore all other entries in the chain. */
|
} /* Ignore all other entries in the chain. */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1466,6 +1466,7 @@ void LJ_FASTCALL recff_cdata_arith(jit_State *J, RecordFFData *rd)
|
|||||||
}
|
}
|
||||||
} else if (!tref_isnum(tr)) {
|
} else if (!tref_isnum(tr)) {
|
||||||
tr = 0;
|
tr = 0;
|
||||||
|
ct = ctype_get(cts, CTID_P_VOID);
|
||||||
}
|
}
|
||||||
ok:
|
ok:
|
||||||
s[i] = ct;
|
s[i] = ct;
|
||||||
|
Loading…
Reference in New Issue
Block a user