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
GH-98831: Modernize a ton of simpler instructions #100545
Conversation
Because this is fiddling with stack frames, there is some weirdness in the `_PyFrame_SetStackPointer()` call.
If you want to schedule another build, you need to add the |
family(load_const) = { LOAD_CONST, LOAD_CONST__LOAD_FAST }; | ||
family(load_fast) = { LOAD_FAST, LOAD_FAST__LOAD_CONST, LOAD_FAST__LOAD_FAST }; |
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 are these families being removed?
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.
This part of the file isn't parsed anyway, and if we moved these families into a part where they would be parsed the generator would complain, because it currently doesn't support super-instructions as part of a family.
See also faster-cpython/ideas#495
These should now exclusively use DECREF_INPUTS() and ERROR_IF().