Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-120367: fix removal of redundant NOPs and jumps after reordering hot-cold blocks#120425
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…ring hot-cold blocks
| ifhasattr(node,"lineno"): | ||
| delnode.lineno | ||
| delnode.end_lineno | ||
| delnode.col_offset | ||
| delnode.end_col_offset |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
why is it important for this test to remove node locations and then useast.fix_missing_locations? maybe worth a comment?
Uh oh!
There was an error while loading.Please reload this page.
Thanks@iritkatriel for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…ring hot-cold blocks (pythonGH-120425)(cherry picked from commit21866c8)Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
GH-120621 is a backport of this pull request to the3.13 branch. |
…ring hot-cold blocks (python#120425)
…ring hot-cold blocks (python#120425)
…ring hot-cold blocks (python#120425)
Uh oh!
There was an error while loading.Please reload this page.
Fixes#120367.