From eff929f0d323559f3b2e9272e3c1d4aa82fc5c80 Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 12 Aug 2022 11:20:43 +0200 Subject: va list, cont fix --- bootstrap/all.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'bootstrap/all.h') diff --git a/bootstrap/all.h b/bootstrap/all.h index 6a0de81..f8eb769 100644 --- a/bootstrap/all.h +++ b/bootstrap/all.h @@ -157,6 +157,7 @@ enum typetype { TYstruct, TYunion, TYeunion, + TYvalist, }; struct type { @@ -327,6 +328,9 @@ enum exprtype { Elen, Eeuini, Eeutag, + Evastart, + Evaarg, + Evaend, }; struct blockstmt { @@ -488,7 +492,9 @@ static const struct targ { llongsize, sizesize, f32align, - f64align; + f64align, + valistsize, + valistalign; bool charsigned; } g_targ = { .ptrsize = sizeof(void *), @@ -499,6 +505,8 @@ static const struct targ { .sizesize = sizeof(size_t), .f32align = alignof(float), .f64align = alignof(double), + .valistsize = sizeof(va_list), + .valistalign = alignof(va_list), .charsigned = CHAR_MIN < 0, }; -- cgit v1.2.3