mirror of
https://github.com/python/cpython.git
synced 2026-01-27 05:05:50 +00:00
gh-120437: Fix _CHECK_STACK_SPACE optimization problems introduced in gh-118322 (GH-120712)
Co-authored-by: Ken Jin <kenjin4096@gmail.com>
This commit is contained in:
parent
ace2045ea6
commit
f385d99f57
@ -0,0 +1 @@
|
||||
Fix ``_CHECK_STACK_SPACE`` optimization problems introduced in :gh:`118322`.
|
||||
@ -601,7 +601,6 @@ dummy_func(void) {
|
||||
(void)callable;
|
||||
(void)self_or_null;
|
||||
(void)args;
|
||||
first_valid_check_stack = NULL;
|
||||
new_frame = NULL;
|
||||
ctx->done = true;
|
||||
}
|
||||
|
||||
1
Python/optimizer_cases.c.h
generated
1
Python/optimizer_cases.c.h
generated
@ -1492,7 +1492,6 @@
|
||||
(void)callable;
|
||||
(void)self_or_null;
|
||||
(void)args;
|
||||
first_valid_check_stack = NULL;
|
||||
new_frame = NULL;
|
||||
ctx->done = true;
|
||||
stack_pointer[-2 - oparg] = (_Py_UopsSymbol *)new_frame;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user