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>
pull/13776/head
Damien George 2024-02-29 11:15:37 +11:00
rodzic 8692d2602a
commit 9a4be7d7b3
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -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).
emit->suppress = false;
mp_emit_bc_adjust_stack_size(emit, 0);
if (emit->pass == MP_PASS_SCOPE) {
return;
}