From 5d69ba4b02f2d592732fc37573efda11fb325058 Mon Sep 17 00:00:00 2001 From: lemon Date: Thu, 20 Nov 2025 13:53:44 +0100 Subject: isel: lower allocas a different way, such that stk address gets materialized when necesary --- c/c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c') diff --git a/c/c.c b/c/c.c index 6714cab..c7cfc50 100644 --- a/c/c.c +++ b/c/c.c @@ -4221,7 +4221,7 @@ docomp(struct comp *cm) } decl.isdef = st.varini; if (st.funcdef) { - const struct typedata *td = &typedata[decl.ty.dat]; + const struct typedata *td = &typedata[decl.ty.dat]; struct function fn = { &cm->fnarena, decl.name, .globl = decl.scls != SCSTATIC }; fn.fnty = decl.ty; if (td->ret.t != TYVOID && isincomplete(td->ret)) -- cgit v1.2.3