summaryrefslogtreecommitdiff
path: root/Python/specialize.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-02-10 15:55:52 +0000
committerGitHub <noreply@github.com>2022-02-10 15:55:52 +0000
commit1a6411f5738895fa48d35a93435f7c7b6c17bdb9 (patch)
tree7a845e0e2d395ee07079cc604081c1dd5d72a7e0 /Python/specialize.c
parente19059ecd80d39dca378cd19f72c5008b1957976 (diff)
downloadcpython-git-1a6411f5738895fa48d35a93435f7c7b6c17bdb9.tar.gz
Gather stats for PRECALL_METHOD. (GH-31259)
Diffstat (limited to 'Python/specialize.c')
-rw-r--r--Python/specialize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/specialize.c b/Python/specialize.c
index 940ab172d5..b051f45157 100644
--- a/Python/specialize.c
+++ b/Python/specialize.c
@@ -176,6 +176,7 @@ print_spec_stats(FILE *out, OpcodeStats *stats)
* even though we don't specialize them yet. */
fprintf(out, " opcode[%d].specializable : 1\n", FOR_ITER);
fprintf(out, " opcode[%d].specializable : 1\n", PRECALL_FUNCTION);
+ fprintf(out, " opcode[%d].specializable : 1\n", PRECALL_METHOD);
fprintf(out, " opcode[%d].specializable : 1\n", UNPACK_SEQUENCE);
for (int i = 0; i < 256; i++) {
if (adaptive_opcodes[i]) {