]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-115999: Don't take a reason in unspecialize (#127030)
authormpage <mpage@meta.com>
Wed, 20 Nov 2024 22:54:48 +0000 (14:54 -0800)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 22:54:48 +0000 (14:54 -0800)
commit32428cf9ea03bce6d64c7acd28e0b7d92774eb53
treec0294db777d23ac082715b83d8fe2d5824e0c456
parent0af4ec30bd2e3a52350344d1011c0c125d6dcd71
gh-115999: Don't take a reason in unspecialize (#127030)

Don't take a reason in unspecialize

We only want to compute the reason if stats are enabled. Optimizing
compilers should optimize this away for us (gcc and clang do), but
it's better to be safe than sorry.
Python/specialize.c