Skip to content

Commit 5700f6a

Browse files
committed
Minimise diff
1 parent 3a934bf commit 5700f6a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Python/bytecodes.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3764,6 +3764,8 @@ dummy_func(
37643764
next = item;
37653765
}
37663766

3767+
macro(FOR_ITER) = _SPECIALIZE_FOR_ITER + _RECORD_NOS_GEN_FUNC + _RECORD_NOS_TYPE + _FOR_ITER;
3768+
37673769
op(_FOR_ITER_TIER_TWO, (iter, null_or_index -- iter, null_or_index, next)) {
37683770
_PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
37693771
if (!PyStackRef_IsValid(item)) {
@@ -3801,9 +3803,6 @@ dummy_func(
38013803
next = PyStackRef_FromPyObjectSteal(item);
38023804
}
38033805

3804-
3805-
macro(FOR_ITER) = _SPECIALIZE_FOR_ITER + _RECORD_NOS_GEN_FUNC + _RECORD_NOS_TYPE + _FOR_ITER;
3806-
38073806
op(_GUARD_NOS_ITER_VIRTUAL, (iter, null_or_index -- iter, null_or_index)) {
38083807
PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
38093808
EXIT_IF(Py_TYPE(iter_o)->_tp_iteritem == NULL);

0 commit comments

Comments
 (0)