aboutsummaryrefslogtreecommitdiff
path: root/il-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'il-gen.c')
-rw-r--r--il-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/il-gen.c b/il-gen.c
index fef6194..29f0526 100644
--- a/il-gen.c
+++ b/il-gen.c
@@ -449,7 +449,7 @@ void gfunc_prolog(int t)
while ((sym = sym->next) != NULL) {
u = sym->t;
sym_push(sym->v & ~SYM_FIELD, u,
- VT_LOCAL | VT_LVAL, addr);
+ VT_LOCAL | lvalue_type(sym->type.t), addr);
addr++;
}
}