Skip to content

Commit b84f496

Browse files
committed
Remove unnecessary stuff
1 parent 7ba5f55 commit b84f496

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

Include/cpython/pystats.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ typedef struct _gc_stats {
9898

9999
typedef struct _uop_stats {
100100
uint64_t execution_count;
101-
uint64_t miss;
102101
} UOpStats;
103102

104103
typedef struct _optimization_stats {

Include/internal/pycore_code.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ extern int _PyStaticCode_Init(PyCodeObject *co);
284284
#define GC_STAT_ADD(gen, name, n) do { if (_Py_stats) _Py_stats->gc_stats[(gen)].name += (n); } while (0)
285285
#define OPTIMIZATION_STAT_INC(name) do { if (_Py_stats) _Py_stats->optimization_stats.name++; } while (0)
286286
#define UOP_EXE_INC(opname) do { if (_Py_stats) _Py_stats->optimization_stats.opcode[opname].execution_count++; } while (0)
287-
#define UOP_STAT_INC(opname, name) do { if (_Py_stats) _Py_stats->optimization_stats.opcode[opname].name++; } while (0)
288287

289288
// Export for '_opcode' shared extension
290289
PyAPI_FUNC(PyObject*) _Py_GetSpecializationStats(void);
@@ -301,7 +300,6 @@ PyAPI_FUNC(PyObject*) _Py_GetSpecializationStats(void);
301300
#define GC_STAT_ADD(gen, name, n) ((void)0)
302301
#define OPTIMIZATION_STAT_INC(name) ((void)0)
303302
#define UOP_EXE_INC(opname) ((void)0)
304-
#define UOP_STAT_INC(opname, name) ((void)0)
305303
#endif // !Py_STATS
306304

307305
// Utility functions for reading/writing 32/64-bit values in the inline caches.

0 commit comments

Comments
 (0)