From: Itamar Ostricher Date: Thu, 8 Sep 2022 08:22:32 +0000 (-0700) Subject: gh-96653: Remove duplicate CALL_STAT_INC(inlined_py_calls) in BINARY_SUBSCR_GETITEM... X-Git-Tag: v3.12.0a1~450 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f523a70543a79a3bbca9bf2ce9abb8fad0aaad2;p=thirdparty%2FPython%2Fcpython.git gh-96653: Remove duplicate CALL_STAT_INC(inlined_py_calls) in BINARY_SUBSCR_GETITEM (GH-96654) --- diff --git a/Python/ceval.c b/Python/ceval.c index af47e091bc7f..41320e9239c8 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -1659,7 +1659,6 @@ handle_eval_breaker: STAT_INC(BINARY_SUBSCR, hit); Py_INCREF(getitem); _PyInterpreterFrame *new_frame = _PyFrame_PushUnchecked(tstate, getitem); - CALL_STAT_INC(inlined_py_calls); STACK_SHRINK(2); new_frame->localsplus[0] = container; new_frame->localsplus[1] = sub;