aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2025-05-01 06:21:57 +0800
committerGitHub <noreply@github.com>2025-05-01 06:21:57 +0800
commit6c522debc218d441756bf631abe8ec8d6c6f1c45 (patch)
tree0daf2e4e8170cf086f7a2326b8713bf3dbaa9e26 /Python/bytecodes.c
parent327f5ff9fa4291e66079c61c77b273cb953c302f (diff)
downloadcpython-6c522debc218d441756bf631abe8ec8d6c6f1c45.tar.gz
cpython-6c522debc218d441756bf631abe8ec8d6c6f1c45.zip
GH-125515: Remove two unused error branches. (#133181)
Remove two unused error branches in the generated bytecode handling.
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index b30fa089910..496a53dbabe 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -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());