Skip to content

Commit

Permalink
pythongh-113010: Don't decrement deferred in pystats
Browse files Browse the repository at this point in the history
  • Loading branch information
mdboom committed Dec 12, 2023
1 parent f26bfe4 commit 266029c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Python/ceval_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,6 @@ GETITEM(PyObject *v, Py_ssize_t i) {
if (ADAPTIVE_COUNTER_IS_ZERO(next_instr->cache)) { \
STAT_INC((INSTNAME), deopt); \
} \
else { \
/* This is about to be (incorrectly) incremented: */ \
STAT_DEC((INSTNAME), deferred); \
} \
} while (0)
#else
#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
Expand Down

0 comments on commit 266029c

Please sign in to comment.