summaryrefslogtreecommitdiffstats
path: root/Include/cpython
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2024-05-02 12:10:31 (GMT)
committerGitHub <noreply@github.com>2024-05-02 12:10:31 (GMT)
commit67bba9dd0f5b9c2d24c2bc6d239c4502040484af (patch)
treeefb9ef5019f26b24ffa722fe817a954c3eea0ce8 /Include/cpython
parentf8e088df2a87f613ee23ea4f6787f87d9196b9de (diff)
downloadcpython-67bba9dd0f5b9c2d24c2bc6d239c4502040484af.zip
cpython-67bba9dd0f5b9c2d24c2bc6d239c4502040484af.tar.gz
cpython-67bba9dd0f5b9c2d24c2bc6d239c4502040484af.tar.bz2
GH-117442: Check eval-breaker at start (rather than end) of tier 2 loops (GH-118482)
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 60b3574..744a272 100644
--- a/Include/cpython/optimizer.h
+++ b/Include/cpython/optimizer.h
@@ -142,7 +142,7 @@ void _Py_BloomFilter_Init(_PyBloomFilter *);
void _Py_BloomFilter_Add(_PyBloomFilter *bloom, void *obj);
PyAPI_FUNC(void) _Py_Executor_DependsOn(_PyExecutorObject *executor, void *obj);
PyAPI_FUNC(void) _Py_Executors_InvalidateDependency(PyInterpreterState *interp, void *obj, int is_invalidation);
-extern void _Py_Executors_InvalidateAll(PyInterpreterState *interp, int is_invalidation);
+PyAPI_FUNC(void) _Py_Executors_InvalidateAll(PyInterpreterState *interp, int is_invalidation);
/* For testing */
PyAPI_FUNC(PyObject *)PyUnstable_Optimizer_NewCounter(void);