Skip to content

Commit 06c1680

Browse files
committed
Fix stats for FOR_ITER specialization
1 parent 4679ccc commit 06c1680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/specialize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2960,7 +2960,7 @@ _Py_Specialize_ForIter(_PyStackRef iter, _PyStackRef null_or_index, _Py_CODEUNIT
29602960
}
29612961
failure:
29622962
SPECIALIZATION_FAIL(FOR_ITER,
2963-
_PySpecialization_ClassifyIterator(iter_o));
2963+
_PySpecialization_ClassifyIterator(PyStackRef_AsPyObjectBorrow(iter)));
29642964
unspecialize(instr);
29652965
}
29662966

0 commit comments

Comments
 (0)