summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2024-01-11 18:20:42 (GMT)
committerGitHub <noreply@github.com>2024-01-11 18:20:42 (GMT)
commit55824d01f866d1fa0f21996d897fba0e07d09ac8 (patch)
treeaeaec720d5d2df05fdad8389a542debfdb4b5032 /Include
parent0d8fec79ca30e67870752c6ad4e299f591271e69 (diff)
downloadcpython-55824d01f866d1fa0f21996d897fba0e07d09ac8.zip
cpython-55824d01f866d1fa0f21996d897fba0e07d09ac8.tar.gz
cpython-55824d01f866d1fa0f21996d897fba0e07d09ac8.tar.bz2
GH-113853: Guarantee forward progress in executors (GH-113854)
Diffstat (limited to 'Include')
-rw-r--r--Include/cpython/optimizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/optimizer.h b/Include/cpython/optimizer.h
index f077da7..0e7bc9f 100644
--- a/Include/cpython/optimizer.h
+++ b/Include/cpython/optimizer.h
@@ -65,7 +65,7 @@ PyAPI_FUNC(_PyOptimizerObject *) PyUnstable_GetOptimizer(void);
PyAPI_FUNC(_PyExecutorObject *) PyUnstable_GetExecutor(PyCodeObject *code, int offset);
int
-_PyOptimizer_BackEdge(struct _PyInterpreterFrame *frame, _Py_CODEUNIT *src, _Py_CODEUNIT *dest, PyObject **stack_pointer);
+_PyOptimizer_Optimize(struct _PyInterpreterFrame *frame, _Py_CODEUNIT *start, PyObject **stack_pointer);
extern _PyOptimizerObject _PyOptimizer_Default;