summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-06-14 10:09:30 (GMT)
committerGitHub <noreply@github.com>2022-06-14 10:09:30 (GMT)
commit3cd1a5d3ec487e23e3d976e7dd235329f04cfc73 (patch)
tree53e270197be3ceec9e38277ec30a0338631a6727 /Include
parent2bf74753c14e5360e04930b478703f4e2618f4a3 (diff)
downloadcpython-3cd1a5d3ec487e23e3d976e7dd235329f04cfc73.zip
cpython-3cd1a5d3ec487e23e3d976e7dd235329f04cfc73.tar.gz
cpython-3cd1a5d3ec487e23e3d976e7dd235329f04cfc73.tar.bz2
GH-93516: Store offset of first traceable instruction in code object (GH-93769)
Diffstat (limited to 'Include')
-rw-r--r--Include/cpython/code.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/cpython/code.h b/Include/cpython/code.h
index f544ea8..1812617 100644
--- a/Include/cpython/code.h
+++ b/Include/cpython/code.h
@@ -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. */ \