aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/c.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-11-20 13:53:44 +0100
committerlemon <lsof@mailbox.org>2025-11-20 13:53:44 +0100
commit5d69ba4b02f2d592732fc37573efda11fb325058 (patch)
tree5a7a62337f388959c9b850c236a62a87d545f422 /c/c.c
parent1f8c531151d0a83e6b2531fdb443c4d6c62c2aab (diff)
isel: lower allocas a different way, such that stk address gets materialized when necesary
Diffstat (limited to 'c/c.c')
-rw-r--r--c/c.c2
1 files changed, 1 insertions, 1 deletions
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))