https://github.com/python/cpython/commit/7b26c4d1e3a856b9a377c57cffc3e7b3921d18bb
commit: 7b26c4d1e3a856b9a377c57cffc3e7b3921d18bb
branch: main
author: Mark Shannon <[email protected]>
committer: markshannon <[email protected]>
date: 2024-08-21T12:52:28+01:00
summary:

GH-123197: Increment correct stat for CALL_KW (GH-123200)

files:
M Python/bytecodes.c
M Python/generated_cases.c.h

diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index 3edd374654178a..5adcd77b4d5e6e 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -4194,7 +4194,7 @@ dummy_func(
                 _Py_Specialize_CallKw(callable, next_instr, oparg + 
!PyStackRef_IsNull(self_or_null));
                 DISPATCH_SAME_OPARG();
             }
-            STAT_INC(CALL, deferred);
+            STAT_INC(CALL_KW, deferred);
             ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
             #endif  /* ENABLE_SPECIALIZATION */
         }
diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h
index f4a5d2a9650f58..42a58bb7285d21 100644
--- a/Python/generated_cases.c.h
+++ b/Python/generated_cases.c.h
@@ -1761,7 +1761,7 @@
                     _Py_Specialize_CallKw(callable, next_instr, oparg + 
!PyStackRef_IsNull(self_or_null));
                     DISPATCH_SAME_OPARG();
                 }
-                STAT_INC(CALL, deferred);
+                STAT_INC(CALL_KW, deferred);
                 ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
                 #endif  /* ENABLE_SPECIALIZATION */
             }

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to