Title: GH-102305: Expand some macros in generated_cases.c.h by gvanrossum · Pull Request #102309 · python/cpython · GitHub
Open Graph Title: GH-102305: Expand some macros in generated_cases.c.h by gvanrossum · Pull Request #102309 · python/cpython
X Title: GH-102305: Expand some macros in generated_cases.c.h by gvanrossum · Pull Request #102309 · python/cpython
Description: The code generator used PEEK(i) to read the i-th stack item (1-based). Since this just obscures the meaning, we're just emitting stack_pointer[-i] now. Similar for POKE(i, x), which becomes stack_pointer[-i] = x. Similar for JUMPBY(i), becomes next_instr += i. Also expand NEXTOPARG() -- in the expansion I found that it is redundantly extracting the opcode (in the case of a super-instruction) so removed that,leaving only oparg = (next_instr++)->op.arg. Issue: gh-102305
Open Graph Description: The code generator used PEEK(i) to read the i-th stack item (1-based). Since this just obscures the meaning, we're just emitting stack_pointer[-i] now. Similar for POKE(i, x), which becomes sta...
X Description: The code generator used PEEK(i) to read the i-th stack item (1-based). Since this just obscures the meaning, we're just emitting stack_pointer[-i] now. Similar for POKE(i, x), which becomes...
Opengraph URL: https://github.com/python/cpython/pull/102309
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:d9c4943e-6c2a-0458-b4f0-40c748f3f2d8 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | AADA:10FD0C:105E0A9:15C8D22:6969935E |
| html-safe-nonce | 48029c809023e303f76a13da41834b53d05413c902c14e2ecbd315fb8830a026 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQURBOjEwRkQwQzoxMDVFMEE5OjE1QzhEMjI6Njk2OTkzNUUiLCJ2aXNpdG9yX2lkIjoiNzA3OTg4MTQ1NjA3ODEzMjA2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ff3acb2dca0aaa264b68c50a101729478f3501365a28487b338c1992d8698366 |
| hovercard-subject-tag | pull_request:1256353444 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/102309/checks |
| twitter:image | https://avatars.githubusercontent.com/u/2894642?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2894642?s=400&v=4 |
| og:image:alt | The code generator used PEEK(i) to read the i-th stack item (1-based). Since this just obscures the meaning, we're just emitting stack_pointer[-i] now. Similar for POKE(i, x), which becomes sta... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width