mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
GH-93516: Store offset of first traceable instruction in code object (GH-93769)
This commit is contained in:
parent
2bf74753c1
commit
3cd1a5d3ec
6 changed files with 53 additions and 52 deletions
|
@ -89,6 +89,7 @@ typedef uint16_t _Py_CODEUNIT;
|
|||
PyObject *co_linetable; /* bytes object that holds location info */ \
|
||||
PyObject *co_weakreflist; /* to support weakrefs to code objects */ \
|
||||
void *_co_code; /* cached co_code object/attribute */ \
|
||||
int _co_firsttraceable; /* index of first traceable instruction */ \
|
||||
/* Scratch space for extra data relating to the code object. \
|
||||
Type is a void* to keep the format private in codeobject.c to force \
|
||||
people to go through the proper APIs. */ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue