]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-123197: Increment correct stat for CALL_KW (GH-123200)
authorMark Shannon <mark@hotpy.org>
Wed, 21 Aug 2024 11:52:28 +0000 (12:52 +0100)
committerGitHub <noreply@github.com>
Wed, 21 Aug 2024 11:52:28 +0000 (12:52 +0100)
Python/bytecodes.c
Python/generated_cases.c.h

index 3edd374654178a06c01e2c9ef4d947a4f0e744c1..5adcd77b4d5e6ede7dc1f2f2104e01777362bbd6 100644 (file)
@@ -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 */
         }
index f4a5d2a9650f58f627b87d56f4195fd56697f289..42a58bb7285d2190a66f17b43d1f9ce1c661b842 100644 (file)
                     _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 */
             }