py/emitbc: Remove call to adjust Python stack by 0 entries.
This call used to be needed when there was an `emit_bc_pre()` function that
needed to be called at the start of each emitted bytecode. But in
8e7745eb31 that function was removed and now
the call to `mp_emit_bc_adjust_stack_size()` does nothing when adjusting by
0 entries, so it can be removed.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
8692d2602a
commit
9a4be7d7b3
1 changed files with 0 additions and 1 deletions
|
|
@ -448,7 +448,6 @@ void mp_emit_bc_label_assign(emit_t *emit, mp_uint_t l) {
|
||||||
// should be emitted (until another unconditional flow control).
|
// should be emitted (until another unconditional flow control).
|
||||||
emit->suppress = false;
|
emit->suppress = false;
|
||||||
|
|
||||||
mp_emit_bc_adjust_stack_size(emit, 0);
|
|
||||||
if (emit->pass == MP_PASS_SCOPE) {
|
if (emit->pass == MP_PASS_SCOPE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue