Skip to content

Commit 2caf56f

Browse files
committed
Remove debug code
1 parent 38a429f commit 2caf56f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Python/bytecodes.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3253,12 +3253,9 @@ dummy_func(
32533253
DISPATCH();
32543254
}
32553255
#else
3256-
intptr_t i = PyStackRef_UntagInt(null_or_index);
3257-
assert(i < PyList_GET_SIZE(list_o));
3258-
next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, i));
3256+
next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, PyStackRef_UntagInt(null_or_index)));
32593257
#endif
32603258
null_or_index = PyStackRef_IncrementTaggedInt(null_or_index);
3261-
assert(PyStackRef_UntagInt(null_or_index) == i + 1);
32623259
}
32633260

32643261
// Only used by Tier 2

0 commit comments

Comments
 (0)