summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorNadeshiko Manju <me@manjusaka.me>2024-06-19 15:34:39 (GMT)
committerGitHub <noreply@github.com>2024-06-19 15:34:39 (GMT)
commitf385d99f57773e48285e0bcdbcd66dcbfdc647b3 (patch)
tree6ec0134acd17ed6b1d3a0c2d5ddd77de40d417d3 /Python
parentace2045ea673e14a4c403d4bb56704cdde83ad07 (diff)
downloadcpython-f385d99f57773e48285e0bcdbcd66dcbfdc647b3.zip
cpython-f385d99f57773e48285e0bcdbcd66dcbfdc647b3.tar.gz
cpython-f385d99f57773e48285e0bcdbcd66dcbfdc647b3.tar.bz2
gh-120437: Fix `_CHECK_STACK_SPACE` optimization problems introduced in gh-118322 (GH-120712)
Co-authored-by: Ken Jin <kenjin4096@gmail.com>
Diffstat (limited to 'Python')
-rw-r--r--Python/optimizer_bytecodes.c1
-rw-r--r--Python/optimizer_cases.c.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/Python/optimizer_bytecodes.c b/Python/optimizer_bytecodes.c
index 35463f2..2ea839f 100644
--- a/Python/optimizer_bytecodes.c
+++ b/Python/optimizer_bytecodes.c
@@ -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;
}
diff --git a/Python/optimizer_cases.c.h b/Python/optimizer_cases.c.h
index 4650186..7274bd2 100644
--- a/Python/optimizer_cases.c.h
+++ b/Python/optimizer_cases.c.h
@@ -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;