mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
GH-125515: Mark code after "return" as unreachable in the cases generator (#133178)
Mark code after "return" as unreachable
This commit is contained in:
parent
42b0b0667e
commit
b329096cfb
2 changed files with 5 additions and 3 deletions
3
Python/generated_cases.c.h
generated
3
Python/generated_cases.c.h
generated
|
@ -7464,9 +7464,6 @@
|
|||
PyObject *result = PyStackRef_AsPyObjectSteal(retval);
|
||||
LLTRACE_RESUME_FRAME();
|
||||
return result;
|
||||
stack_pointer += -1;
|
||||
assert(WITHIN_STACK_BOUNDS());
|
||||
DISPATCH();
|
||||
}
|
||||
|
||||
TARGET(IS_OP) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue