]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-118095: Unify the behavior of tier 2 FOR_ITER branch micro-ops (GH-118420)
authorMark Shannon <mark@hotpy.org>
Thu, 2 May 2024 15:17:59 +0000 (16:17 +0100)
committerGitHub <noreply@github.com>
Thu, 2 May 2024 15:17:59 +0000 (16:17 +0100)
commit72867c962cc59c6d56805f86530696bea6beb039
tree239f9333f2e1f355387f41ce2443a786de04afc9
parent9789440de387219bb7677fe0d66860aa8c9deb02
GH-118095: Unify the behavior of tier 2 FOR_ITER branch micro-ops (GH-118420)

* Target _FOR_ITER_TIER_TWO at POP_TOP following the matching END_FOR

* Modify _GUARD_NOT_EXHAUSTED_RANGE, _GUARD_NOT_EXHAUSTED_LIST and _GUARD_NOT_EXHAUSTED_TUPLE so that they also target the POP_TOP following the matching END_FOR
Python/bytecodes.c
Python/executor_cases.c.h
Python/optimizer.c
Python/optimizer_symbols.c
Python/specialize.c