diff options
| author | Damien George <damien.p.george@gmail.com> | 2017-01-17 15:30:18 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2017-02-16 18:38:06 +1100 |
| commit | 30b42dd72d4aa310e8c96ccbaf75150f8649c262 (patch) | |
| tree | b323ad8196ee494c2f3b76d455dc7a58b2d0ab10 /py/emitbc.c | |
| parent | 088740ecc40476fd0796a3ef6a68ee7c677eae64 (diff) | |
py: Remove unused "use_stack" argument from for_iter_end emit function.
Diffstat (limited to 'py/emitbc.c')
| -rw-r--r-- | py/emitbc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/emitbc.c b/py/emitbc.c index caa6761fe..0076c147e 100644 --- a/py/emitbc.c +++ b/py/emitbc.c @@ -787,8 +787,8 @@ void mp_emit_bc_for_iter(emit_t *emit, mp_uint_t label) { emit_write_bytecode_byte_unsigned_label(emit, MP_BC_FOR_ITER, label); } -void mp_emit_bc_for_iter_end(emit_t *emit, bool use_stack) { - emit_bc_pre(emit, -(use_stack ? sizeof(mp_obj_iter_buf_t) / sizeof(mp_obj_t) : 1)); +void mp_emit_bc_for_iter_end(emit_t *emit) { + emit_bc_pre(emit, -(sizeof(mp_obj_iter_buf_t) / sizeof(mp_obj_t))); } void mp_emit_bc_pop_block(emit_t *emit) { |
