mirror of
https://github.com/python/cpython.git
synced 2025-11-26 21:33:10 +00:00
GH-118093: Handle some polymorphism before requiring progress in tier two (GH-122843)
This commit is contained in:
parent
503af8fe9a
commit
9621a7d017
6 changed files with 73 additions and 42 deletions
2
Python/generated_cases.c.h
generated
2
Python/generated_cases.c.h
generated
|
|
@ -4259,7 +4259,7 @@
|
|||
start--;
|
||||
}
|
||||
_PyExecutorObject *executor;
|
||||
int optimized = _PyOptimizer_Optimize(frame, start, stack_pointer, &executor);
|
||||
int optimized = _PyOptimizer_Optimize(frame, start, stack_pointer, &executor, 0);
|
||||
if (optimized < 0) goto error;
|
||||
if (optimized) {
|
||||
assert(tstate->previous_executor == NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue