From: Mark Shannon Date: Wed, 21 Aug 2024 11:52:28 +0000 (+0100) Subject: GH-123197: Increment correct stat for CALL_KW (GH-123200) X-Git-Tag: v3.14.0a1~731 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b26c4d1e3a856b9a377c57cffc3e7b3921d18bb;p=thirdparty%2FPython%2Fcpython.git GH-123197: Increment correct stat for CALL_KW (GH-123200) --- diff --git a/Python/bytecodes.c b/Python/bytecodes.c index 3edd37465417..5adcd77b4d5e 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 f4a5d2a9650f..42a58bb7285d 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 */ }