mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-107265: Remove all ENTER_EXECUTOR when execute _Py_Instrument (gh-108539)
This commit is contained in:
parent
19eddb515a
commit
3bfa24e29f
4 changed files with 59 additions and 32 deletions
|
@ -233,6 +233,9 @@ extern void _PyLineTable_InitAddressRange(
|
|||
extern int _PyLineTable_NextAddressRange(PyCodeAddressRange *range);
|
||||
extern int _PyLineTable_PreviousAddressRange(PyCodeAddressRange *range);
|
||||
|
||||
/** API for executors */
|
||||
extern void _PyCode_Clear_Executors(PyCodeObject *code);
|
||||
|
||||
#define ENABLE_SPECIALIZATION 1
|
||||
|
||||
/* Specialization functions */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue