8000 gh-107901: synthetic jumps which are not at end of loop no longer check the eval breaker by iritkatriel · Pull Request #113721 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-107901: synthetic jum 8000 ps which are not at end of loop no longer check the eval breaker #113721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix jump threading from JUMP_NO_INTERRUPT followed by JUMP
  • Loading branch information
iritkatriel committed Jan 5, 2024
commit e81267dca8d95c9741a98d1e34bfa4c2ab09ea0b
1 change: 1 addition & 0 deletions Python/flowgraph.c
Original file line number Diff line number Diff line change
Expand Up @@ -1602,6 +1602,7 @@ optimize_basic_block(PyObject *const_cache, basicblock *bb, PyObject *consts)
}
break;
case JUMP:
case JUMP_NO_INTERRUPT:
switch (target->i_opcode) {
case JUMP:
i -= jump_thread(inst, target, JUMP);
Expand Down
0