summaryrefslogtreecommitdiff
path: root/py/compile.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-17 15:30:18 +1100
committerDamien George <damien.p.george@gmail.com>2017-02-16 18:38:06 +1100
commit30b42dd72d4aa310e8c96ccbaf75150f8649c262 (patch)
treeb323ad8196ee494c2f3b76d455dc7a58b2d0ab10 /py/compile.c
parent088740ecc40476fd0796a3ef6a68ee7c677eae64 (diff)
py: Remove unused "use_stack" argument from for_iter_end emit function.
Diffstat (limited to 'py/compile.c')
-rw-r--r--py/compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/compile.c b/py/compile.c
index 5ea7bb4b2..3967350e3 100644
--- a/py/compile.c
+++ b/py/compile.c
@@ -1484,7 +1484,7 @@ STATIC void compile_for_stmt(compiler_t *comp, mp_parse_node_struct_t *pns) {
EMIT_ARG(jump, continue_label);
}
EMIT_ARG(label_assign, pop_label);
- EMIT_ARG(for_iter_end, true);
+ EMIT(for_iter_end);
// break/continue apply to outer loop (if any) in the else block
END_BREAK_CONTINUE_BLOCK
@@ -2906,7 +2906,7 @@ STATIC void compile_scope_comp_iter(compiler_t *comp, mp_parse_node_struct_t *pn
EMIT_ARG(jump, l_top);
EMIT_ARG(label_assign, l_end);
- EMIT_ARG(for_iter_end, true);
+ EMIT(for_iter_end);
}
STATIC void check_for_doc_string(compiler_t *comp, mp_parse_node_t pn) {