Skip to content

Commit

Permalink
gh-96653: Remove duplicate CALL_STAT_INC(inlined_py_calls) in BINARY_…
Browse files Browse the repository at this point in the history
…SUBSCR_GETITEM (GH-96654)
  • Loading branch information
itamaro authored Sep 8, 2022
1 parent d5e0786 commit 4f523a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -1659,7 +1659,6 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
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;
Expand Down

0 comments on commit 4f523a7

Please sign in to comment.