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: Typed stack effects, and more instructions converted #99764
Commits on Dec 3, 2022
-
Make BINARY_OP_INPLACE_ADD_UNICODE a legit super instruction
This doesn't really make things much cleaner, but it works.
-
-
-
-
-
This was more convoluted than I expected.
-
Refactor common code of analyze_{super,macro}
Also removed some dead code from the former (somehow the case for CacheEffect had crept back in).
-
Reverse temporary variable numbering
This makes the PEEK/POKE sequences less jarring.
-
-
-
-
-
-
-
Complete the store_subscr family: STORE_SUBSCR{,DICT,LIST_INT}
STORE_SUBSCR was alread half converted, but wasn't using cache effects yet.
-
-
-
-
-
GET_AITER (had to restructure it some)
The original had mysterious `SET_TOP(NULL)` before `goto error`. I assume those just account for `obj` having been decref'ed, so I got rid of them in favor of the cleanup implied by `ERROR_IF()`.
-
-
Emit PREDICT() macros right before DISPATCH()
This should fix the build crash on Windows.
-
-
Commits on Dec 8, 2022
-
-
-
-
-
Revert "Make BINARY_OP_INPLACE_ADD_UNICODE a legit super instruction"
It was too fancy, and I have another idea for super instructions and effects anyways. This reverts commit 6860ed7.
-
-
-
-
-