aboutsummaryrefslogtreecommitdiff
path: root/qbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'qbe.c')
-rw-r--r--qbe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/qbe.c b/qbe.c
index fad1858..fde25e2 100644
--- a/qbe.c
+++ b/qbe.c
@@ -777,6 +777,9 @@ funcexpr(struct function *f, struct expression *e)
l = funcexpr(f, e->builtin.arg);
funcinst(f, IVASTART, NULL, (struct value *[]){l});
break;
+ case BUILTINVAARG:
+ l = funcexpr(f, e->builtin.arg);
+ return funcinst(f, IVAARG, e->type->repr, (struct value *[]){l});
case BUILTINVAEND:
/* no-op */
break;