summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-10-26 10:33:12 (GMT)
committerGitHub <noreply@github.com>2023-10-26 10:33:12 (GMT)
commitb0699aa5446eb576ed8ab96989d4f60c7a2a04f8 (patch)
tree90d866c6eb642b4abd6e009050b3d6c5196f720d /Python
parent5c9d4497abd2923b4655cee2510208be8540b117 (diff)
downloadcpython-b0699aa5446eb576ed8ab96989d4f60c7a2a04f8.zip
cpython-b0699aa5446eb576ed8ab96989d4f60c7a2a04f8.tar.gz
cpython-b0699aa5446eb576ed8ab96989d4f60c7a2a04f8.tar.bz2
GH-111213: Fix a few broken stats (GH-111216)
Diffstat (limited to 'Python')
-rw-r--r--Python/specialize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/specialize.c b/Python/specialize.c
index 49633b1..8e24760 100644
--- a/Python/specialize.c
+++ b/Python/specialize.c
@@ -134,7 +134,7 @@ print_spec_stats(FILE *out, OpcodeStats *stats)
fprintf(out, "opcode[BINARY_SLICE].specializable : 1\n");
fprintf(out, "opcode[STORE_SLICE].specializable : 1\n");
for (int i = 0; i < 256; i++) {
- if (_PyOpcode_Caches[i]) {
+ if (_PyOpcode_Caches[i] && i != JUMP_BACKWARD) {
fprintf(out, "opcode[%s].specializable : 1\n", _PyOpcode_OpName[i]);
}
PRINT_STAT(i, specialization.success);