Title: GH-93678: refactor compiler so that optimizer does not need the assembler and compiler structs by iritkatriel · Pull Request #93842 · python/cpython · GitHub
Open Graph Title: GH-93678: refactor compiler so that optimizer does not need the assembler and compiler structs by iritkatriel · Pull Request #93842 · python/cpython
X Title: GH-93678: refactor compiler so that optimizer does not need the assembler and compiler structs by iritkatriel · Pull Request #93842 · python/cpython
Description: (The individual commits may be easier to review). This refactor makes most optimisation functions take as args what they actually need so that we don't need to pass the compiler/assembler structs around everywhere. The assembler is now initialised after all the optimisations, just before code is emitted. The advantages are: These functions become easier to unit test It brings us closer to a separation between the code-gen/optimisation/assembly stages.
Open Graph Description: (The individual commits may be easier to review). This refactor makes most optimisation functions take as args what they actually need so that we don't need to pass the compiler/assembler struc...
X Description: (The individual commits may be easier to review). This refactor makes most optimisation functions take as args what they actually need so that we don't need to pass the compiler/assembler s...
Opengraph URL: https://github.com/python/cpython/pull/93842
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:9c8c437d-10b6-64d5-6d12-de29d9050253 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C2E4:32294B:128D077:18D8D15:69699DEC |
| html-safe-nonce | 704e1cebd47b7ac82da3d88663b4cab37c8e9d25d0f19ad92fed030114ddb12e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkU0OjMyMjk0QjoxMjhEMDc3OjE4RDhEMTU6Njk2OTlERUMiLCJ2aXNpdG9yX2lkIjoiNDM1MDM3Mzk5MDc5NDYzMjY4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1d8036ba8510ff70f02e34c618c1b31e6912cbfd7f6850a3acef5ff4ba9ffb0f |
| hovercard-subject-tag | pull_request:967969133 |
| 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/93842/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1055913?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1055913?s=400&v=4 |
| og:image:alt | (The individual commits may be easier to review). This refactor makes most optimisation functions take as args what they actually need so that we don't need to pass the compiler/assembler struc... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| 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 | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width