Skip to content

Commit ab470de

Browse files
committed
Remove debug code
1 parent da85862 commit ab470de

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
@@ -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)