summaryrefslogtreecommitdiff
path: root/cgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgen.c')
-rw-r--r--cgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgen.c b/cgen.c
index 2a469ea..5b430fc 100644
--- a/cgen.c
+++ b/cgen.c
@@ -673,7 +673,7 @@ static void cgen_fn_header(CGenerator *g, FnExpr *f, U64 which_are_const) {
}
static inline void cgen_deferred_from_block(CGenerator *g, Block *from) {
- arr_foreach_reversed(from->deferred, StatementPtr, s) {
+ arr_foreach(from->deferred, StatementPtr, s) {
cgen_stmt(g, *s);
}
}