From 266029c41a5d4e17b295b4b95e5969a2d94e7d36 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 12 Dec 2023 15:41:28 -0500 Subject: [PATCH] gh-113010: Don't decrement deferred in pystats --- Python/ceval_macros.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Python/ceval_macros.h b/Python/ceval_macros.h index f298c602b1042b..ac44aecae046d8 100644 --- a/Python/ceval_macros.h +++ b/Python/ceval_macros.h @@ -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)