summaryrefslogtreecommitdiffstats
path: root/Modules/_testinternalcapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_testinternalcapi.c')
-rw-r--r--Modules/_testinternalcapi.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/_testinternalcapi.c b/Modules/_testinternalcapi.c
index 6b5d99f..758e88e 100644
--- a/Modules/_testinternalcapi.c
+++ b/Modules/_testinternalcapi.c
@@ -10,6 +10,7 @@
#undef NDEBUG
#include "Python.h"
+#include "pycore_backoff.h" // JUMP_BACKWARD_INITIAL_VALUE
#include "pycore_bitutils.h" // _Py_bswap32()
#include "pycore_bytesobject.h" // _PyBytes_Find()
#include "pycore_ceval.h" // _PyEval_AddPendingCall()
@@ -1819,6 +1820,11 @@ module_exec(PyObject *module)
return 1;
}
+ if (PyModule_Add(module, "TIER2_THRESHOLD",
+ PyLong_FromLong(JUMP_BACKWARD_INITIAL_VALUE)) < 0) {
+ return 1;
+ }
+
return 0;
}