summaryrefslogtreecommitdiffstats
path: root/Include/cpython
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2023-09-13 17:26:50 (GMT)
committerGitHub <noreply@github.com>2023-09-13 17:26:50 (GMT)
commit6c13e13b13bebfdde8ad4019536499820cdfc926 (patch)
tree4b3768dc20494d11f8135a6e9633fc088d23e12a /Include/cpython
parent22e65eecaad3f5337862319687047afe9861e1ef (diff)
downloadcpython-6c13e13b13bebfdde8ad4019536499820cdfc926.zip
cpython-6c13e13b13bebfdde8ad4019536499820cdfc926.tar.gz
cpython-6c13e13b13bebfdde8ad4019536499820cdfc926.tar.bz2
GH-104584: Don't call executors from JUMP_BACKWARD (GH-109347)
Diffstat (limited to 'Include/cpython')
-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 10457af..4753610 100644
--- a/Include/cpython/optimizer.h
+++ b/Include/cpython/optimizer.h
@@ -40,7 +40,7 @@ PyAPI_FUNC(_PyOptimizerObject *) PyUnstable_GetOptimizer(void);
PyAPI_FUNC(_PyExecutorObject *) PyUnstable_GetExecutor(PyCodeObject *code, int offset);
-struct _PyInterpreterFrame *
+int
_PyOptimizer_BackEdge(struct _PyInterpreterFrame *frame, _Py_CODEUNIT *src, _Py_CODEUNIT *dest, PyObject **stack_pointer);
extern _PyOptimizerObject _PyOptimizer_Default;