aboutsummaryrefslogtreecommitdiffhomepage
path: root/c
diff options
context:
space:
mode:
Diffstat (limited to 'c')
-rw-r--r--c/c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/c.c b/c/c.c
index 05308e1..2b2688d 100644
--- a/c/c.c
+++ b/c/c.c
@@ -2677,6 +2677,9 @@ expraddr(struct function *fn, const struct expr *ex)
case ECALL:
assert(isagg(ex->ty));
return compilecall(fn, ex);
+ case EVAARG:
+ assert(isagg(ex->ty));
+ return builtin_va_arg_comp(fn, ex, 0);
case EINIT:
if (fn) {
/* compound literal, allocate temp */