Skip to content

Commit 9a4be7d

Browse files
committed
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 8e7745e 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 <[email protected]>
1 parent 8692d26 commit 9a4be7d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

py/emitbc.c

-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ void mp_emit_bc_label_assign(emit_t *emit, mp_uint_t l) {
448448
// should be emitted (until another unconditional flow control).
449449
emit->suppress = false;
450450

451-
mp_emit_bc_adjust_stack_size(emit, 0);
452451
if (emit->pass == MP_PASS_SCOPE) {
453452
return;
454453
}

0 commit comments

Comments
 (0)