gh-106529: Make FOR_ITER a viable uop by gvanrossum · Pull Request #112134 · python/cpython
gvanrossum added a commit that referenced this pull request
aisk pushed a commit to aisk/cpython that referenced this pull request
aisk pushed a commit to aisk/cpython that referenced this pull request
This uses the new mechanism whereby certain uops are replaced by others during translation, using the `_PyUop_Replacements` table. We further special-case the `_FOR_ITER_TIER_TWO` uop to update the deoptimization target to point just past the corresponding `END_FOR` opcode. Two tiny code cleanups are also part of this PR.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request
This uses the new mechanism whereby certain uops are replaced by others during translation, using the `_PyUop_Replacements` table. We further special-case the `_FOR_ITER_TIER_TWO` uop to update the deoptimization target to point just past the corresponding `END_FOR` opcode. Two tiny code cleanups are also part of this PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters