Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-133371: Don't optimize LOAD_FAST instructions whose local is killed by DELETE_FAST#133383
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -2795,6 +2795,11 @@ optimize_load_fast(cfg_builder *g) | ||
| assert(opcode != EXTENDED_ARG); | ||
| switch (opcode){ | ||
| // Opcodes that load and store locals | ||
| case DELETE_FAST:{ | ||
| kill_local(instr_flags, &refs, oparg); | ||
| break; | ||
| } | ||
Comment on lines +2798 to +2802 Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FWIW: This change by itself is not enough to make the crash in test_asyncio go away. | ||
| case LOAD_FAST:{ | ||
| PUSH_REF(i, oparg); | ||
| break; | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.