GH-125515: Remove two unused error branches. (#133181)

Remove two unused error branches in the generated bytecode handling.
This commit is contained in:
Russell Keith-Magee 2025-05-01 06:21:57 +08:00 committed by GitHub
parent 327f5ff9fa
commit 6c522debc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 0 additions and 28 deletions

View file

@ -5332,18 +5332,6 @@ dummy_func(
assert(tstate->tracing || eval_breaker == FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version));
}
label(pop_4_error) {
stack_pointer -= 4;
assert(WITHIN_STACK_BOUNDS());
goto error;
}
label(pop_3_error) {
stack_pointer -= 3;
assert(WITHIN_STACK_BOUNDS());
goto error;
}
label(pop_2_error) {
stack_pointer -= 2;
assert(WITHIN_STACK_BOUNDS());