diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2023-09-13 17:26:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 17:26:50 (GMT) |
commit | 6c13e13b13bebfdde8ad4019536499820cdfc926 (patch) | |
tree | 4b3768dc20494d11f8135a6e9633fc088d23e12a /Include/cpython | |
parent | 22e65eecaad3f5337862319687047afe9861e1ef (diff) | |
download | cpython-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.h | 2 |
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; |