summaryrefslogtreecommitdiffstats
path: root/Python/frozenmain.c
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-08-23 19:36:14 (GMT)
committerGitHub <noreply@github.com>2024-08-23 19:36:14 (GMT)
commit556e8556849cb9df0666629b0f564b5dd203344c (patch)
treee51d923be9790eeb7e44e2f590baa502d723d383 /Python/frozenmain.c
parent67f2c84bff06eb837fd5ca64466d79f038e22ef8 (diff)
downloadcpython-556e8556849cb9df0666629b0f564b5dd203344c.zip
cpython-556e8556849cb9df0666629b0f564b5dd203344c.tar.gz
cpython-556e8556849cb9df0666629b0f564b5dd203344c.tar.bz2
gh-117376: Make `Py_DECREF` a macro in ceval.c in free-threaded build (#122975)
`Py_DECREF` and `PyStackRef_CLOSE` are now implemented as macros in the free-threaded build in ceval.c. There are two motivations; * MSVC has problems inlining functions in ceval.c in the PGO build. * We will want to mark escaping calls in order to spill the stack pointer in ceval.c and we will want to do this around `_Py_Dealloc` (or `_Py_MergeZeroLocalRefcount` or `_Py_DecRefShared`), not around the entire `Py_DECREF` or `PyStackRef_CLOSE` call.
Diffstat (limited to 'Python/frozenmain.c')
0 files changed, 0 insertions, 0 deletions