Skip to content

Commit 3d31e77

Browse files
committed
fix bug
1 parent 50082b8 commit 3d31e77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Include/internal/pycore_stats.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extern "C" {
3030
do { \
3131
PyStats *s = _PyStats_GET(); \
3232
if (s) { \
33-
assert(opname < 512); \
33+
assert((opname) <= PYSTATS_MAX_UOP_ID); \
3434
s->optimization_stats.opcode[opname].name++; \
3535
} \
3636
} while (0)

0 commit comments

Comments
 (0)