summaryrefslogtreecommitdiff
path: root/py/emit.h
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/emit.h
parent088740ecc40476fd0796a3ef6a68ee7c677eae64 (diff)
py: Remove unused "use_stack" argument from for_iter_end emit function.
Diffstat (limited to 'py/emit.h')
-rw-r--r--py/emit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/emit.h b/py/emit.h
index 6acae9e80..64bb957f6 100644
--- a/py/emit.h
+++ b/py/emit.h
@@ -112,7 +112,7 @@ typedef struct _emit_method_table_t {
void (*end_finally)(emit_t *emit);
void (*get_iter)(emit_t *emit, bool use_stack);
void (*for_iter)(emit_t *emit, mp_uint_t label);
- void (*for_iter_end)(emit_t *emit, bool use_stack);
+ void (*for_iter_end)(emit_t *emit);
void (*pop_block)(emit_t *emit);
void (*pop_except)(emit_t *emit);
void (*unary_op)(emit_t *emit, mp_unary_op_t op);
@@ -230,7 +230,7 @@ void mp_emit_bc_setup_finally(emit_t *emit, mp_uint_t label);
void mp_emit_bc_end_finally(emit_t *emit);
void mp_emit_bc_get_iter(emit_t *emit, bool use_stack);
void mp_emit_bc_for_iter(emit_t *emit, mp_uint_t label);
-void mp_emit_bc_for_iter_end(emit_t *emit, bool use_stack);
+void mp_emit_bc_for_iter_end(emit_t *emit);
void mp_emit_bc_pop_block(emit_t *emit);
void mp_emit_bc_pop_except(emit_t *emit);
void mp_emit_bc_unary_op(emit_t *emit, mp_unary_op_t op);