summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSavannah Ostrowski <savannahostrowski@gmail.com>2023-10-29 20:53:25 (GMT)
committerGitHub <noreply@github.com>2023-10-29 20:53:25 (GMT)
commit4a929d432b48775096d40f5c72bcd9be052b0a2d (patch)
treed173b58d3a38aeb2013c15c9292084214e56061d /Include
parent4d6bdf8aabcc92303041420a96750fbc52c9f213 (diff)
downloadcpython-4a929d432b48775096d40f5c72bcd9be052b0a2d.zip
cpython-4a929d432b48775096d40f5c72bcd9be052b0a2d.tar.gz
cpython-4a929d432b48775096d40f5c72bcd9be052b0a2d.tar.bz2
GH-111339: Fix initialization and finalization of static optimizer types (GH-111430)
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_optimizer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/internal/pycore_optimizer.h b/Include/internal/pycore_optimizer.h
index f9f16c4..b052460 100644
--- a/Include/internal/pycore_optimizer.h
+++ b/Include/internal/pycore_optimizer.h
@@ -13,6 +13,11 @@ extern "C" {
int _Py_uop_analyze_and_optimize(PyCodeObject *code,
_PyUOpInstruction *trace, int trace_len, int curr_stackentries);
+extern PyTypeObject _PyCounterExecutor_Type;
+extern PyTypeObject _PyCounterOptimizer_Type;
+extern PyTypeObject _PyDefaultOptimizer_Type;
+extern PyTypeObject _PyUOpExecutor_Type;
+extern PyTypeObject _PyUOpOptimizer_Type;
#ifdef __cplusplus
}