Skip to content

Commit c2775e0

Browse files
committed
Remove OBJECT_STAT_ADD
1 parent 0a50860 commit c2775e0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Include/internal/pycore_code.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@ extern void _Py_Specialize_ContainsOp(PyObject *value, _Py_CODEUNIT *instr);
307307
#define OPCODE_EXE_INC(opname) do { if (_Py_stats) _Py_stats->opcode_stats[opname].execution_count++; } while (0)
308308
#define CALL_STAT_INC(name) do { if (_Py_stats) _Py_stats->call_stats.name++; } while (0)
309309
#define OBJECT_STAT_INC(name) do { if (_Py_stats) _Py_stats->object_stats.name++; } while (0)
310-
#define OBJECT_STAT_ADD(name, value) do { if (_Py_stats) _Py_stats->object_stats.name += value; } while (0)
311310
#define OBJECT_STAT_INC_COND(name, cond) \
312311
do { if (_Py_stats && cond) _Py_stats->object_stats.name++; } while (0)
313312
#define EVAL_CALL_STAT_INC(name) do { if (_Py_stats) _Py_stats->call_stats.eval_calls[name]++; } while (0)
@@ -344,7 +343,6 @@ PyAPI_FUNC(PyObject*) _Py_GetSpecializationStats(void);
344343
#define OPCODE_EXE_INC(opname) ((void)0)
345344
#define CALL_STAT_INC(name) ((void)0)
346345
#define OBJECT_STAT_INC(name) ((void)0)
347-
#define OBJECT_STAT_ADD(name, val) ((void)0)
348346
#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
349347
#define EVAL_CALL_STAT_INC(name) ((void)0)
350348
#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)

0 commit comments

Comments
 (0)