mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
GH-103082: Code cleanup in instrumentation code (#103474)
This commit is contained in:
parent
e1f14643dc
commit
738c226786
4 changed files with 42 additions and 39 deletions
|
@ -145,9 +145,9 @@ _PyFrame_GetLocalsArray(_PyInterpreterFrame *frame)
|
|||
}
|
||||
|
||||
/* Fetches the stack pointer, and sets stacktop to -1.
|
||||
Having stacktop <= 0 ensures that invalid
|
||||
values are not visible to the cycle GC.
|
||||
We choose -1 rather than 0 to assist debugging. */
|
||||
Having stacktop <= 0 ensures that invalid
|
||||
values are not visible to the cycle GC.
|
||||
We choose -1 rather than 0 to assist debugging. */
|
||||
static inline PyObject**
|
||||
_PyFrame_GetStackPointer(_PyInterpreterFrame *frame)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue