Skip to content

Commit 417cd59

Browse files
committed
Remove debug code
1 parent ba2a612 commit 417cd59

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Python/bytecodes.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -3247,12 +3247,9 @@ dummy_func(
32473247
DISPATCH();
32483248
}
32493249
#else
3250-
intptr_t i = PyStackRef_UntagInt(null_or_index);
3251-
assert(i < PyList_GET_SIZE(list_o));
3252-
next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, i));
3250+
next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, PyStackRef_UntagInt(null_or_index)));
32533251
#endif
32543252
null_or_index = PyStackRef_IncrementTaggedInt(null_or_index);
3255-
assert(PyStackRef_UntagInt(null_or_index) == i + 1);
32563253
}
32573254

32583255
// Only used by Tier 2

0 commit comments

Comments
 (0)