diff options
| author | 2022-08-12 11:20:43 +0200 | |
|---|---|---|
| committer | 2022-08-12 11:20:43 +0200 | |
| commit | eff929f0d323559f3b2e9272e3c1d4aa82fc5c80 (patch) | |
| tree | c3dd54fe4ed4a3082f455c8fe37436f767760977 /bootstrap/all.h | |
| parent | 19f1093f0929b989a06cdee2e7d175e6db15559c (diff) | |
va list, cont fix
Diffstat (limited to 'bootstrap/all.h')
| -rw-r--r-- | bootstrap/all.h | 10 |
1 files changed, 9 insertions, 1 deletions
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, }; |