aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/all.h
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/all.h')
-rw-r--r--bootstrap/all.h10
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,
};