diff options
author | Mark Shannon <mark@hotpy.org> | 2024-08-21 11:52:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-21 11:52:28 (GMT) |
commit | 7b26c4d1e3a856b9a377c57cffc3e7b3921d18bb (patch) | |
tree | f98679b8ddb17a224ad2fe5f9a849bab763406b6 /Python | |
parent | 1eba8bae9223600677dfa3a4ce8b7e4d2b8fd00d (diff) | |
download | cpython-7b26c4d1e3a856b9a377c57cffc3e7b3921d18bb.zip cpython-7b26c4d1e3a856b9a377c57cffc3e7b3921d18bb.tar.gz cpython-7b26c4d1e3a856b9a377c57cffc3e7b3921d18bb.tar.bz2 |
GH-123197: Increment correct stat for CALL_KW (GH-123200)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/bytecodes.c | 2 | ||||
-rw-r--r-- | Python/generated_cases.c.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c index 3edd374..5adcd77 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 f4a5d2a..42a58bb 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 */ } |