diff options
author | Dong-hee Na <donghee.na@python.org> | 2023-09-07 00:53:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 00:53:54 (GMT) |
commit | 3bfa24e29f286cbc1f42bdb4d2b1c0c9d643c8d6 (patch) | |
tree | 59dcd711f7985d20765694702ed0c32efa94cdd7 /Include/internal/pycore_code.h | |
parent | 19eddb515a8cf87df7aaa347379b3e56c324385b (diff) | |
download | cpython-3bfa24e29f286cbc1f42bdb4d2b1c0c9d643c8d6.zip cpython-3bfa24e29f286cbc1f42bdb4d2b1c0c9d643c8d6.tar.gz cpython-3bfa24e29f286cbc1f42bdb4d2b1c0c9d643c8d6.tar.bz2 |
gh-107265: Remove all ENTER_EXECUTOR when execute _Py_Instrument (gh-108539)
Diffstat (limited to 'Include/internal/pycore_code.h')
-rw-r--r-- | Include/internal/pycore_code.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h index 7c66290..b3f480c 100644 --- a/Include/internal/pycore_code.h +++ b/Include/internal/pycore_code.h @@ -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 */ |