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 7cc0719..4332b9c 100644
--- a/qbe.c
+++ b/qbe.c
@@ -830,6 +830,9 @@ funcexpr(struct function *f, struct expression *e)
case BUILTINVAEND:
/* no-op */
break;
+ case BUILTINALLOCA:
+ l = funcexpr(f, e->builtin.arg);
+ return funcinst(f, IALLOC16, &iptr, (struct value *[]){l});
default:
fatal("internal error: unimplemented builtin");
}