mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
GH-96793: Specialize FOR_ITER for generators. (GH-98772)
This commit is contained in:
parent
80c08d1cd6
commit
4a1c58d504
13 changed files with 207 additions and 71 deletions
|
|
@ -230,7 +230,7 @@ extern void _Py_Specialize_CompareOp(PyObject *lhs, PyObject *rhs,
|
|||
_Py_CODEUNIT *instr, int oparg);
|
||||
extern void _Py_Specialize_UnpackSequence(PyObject *seq, _Py_CODEUNIT *instr,
|
||||
int oparg);
|
||||
extern void _Py_Specialize_ForIter(PyObject *iter, _Py_CODEUNIT *instr);
|
||||
extern void _Py_Specialize_ForIter(PyObject *iter, _Py_CODEUNIT *instr, int oparg);
|
||||
|
||||
/* Finalizer function for static codeobjects used in deepfreeze.py */
|
||||
extern void _PyStaticCode_Fini(PyCodeObject *co);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue