Merge branch 'master' into v2.1

This commit is contained in:
Mike Pall
2022-07-13 00:37:14 +02:00
4 changed files with 12 additions and 3 deletions

View File

@@ -468,7 +468,7 @@ static void cp_expr_sizeof(CPState *cp, CPValue *k, int wantsz)
} else {
cp_expr_unary(cp, k);
}
info = lj_ctype_info(cp->cts, k->id, &sz);
info = lj_ctype_info_raw(cp->cts, k->id, &sz);
if (wantsz) {
if (sz != CTSIZE_INVALID)
k->u32 = sz;