Title: GH-98831: Add DECREF_INPUTS(), expanding to DECREF() each stack input by gvanrossum · Pull Request #100205 · python/cpython · GitHub
Open Graph Title: GH-98831: Add DECREF_INPUTS(), expanding to DECREF() each stack input by gvanrossum · Pull Request #100205 · python/cpython
X Title: GH-98831: Add DECREF_INPUTS(), expanding to DECREF() each stack input by gvanrossum · Pull Request #100205 · python/cpython
Description: The presence of this macro indicates that a particular instruction may be considered for conversion to a register-based format (see faster-cpython/ideas#485). An invariant (currently unchecked) is that DEOPT_IF() may only occur before DECREF_INPUTS(), and ERROR_IF() may only occur after it. One reason not to check this is that there are a few places where we insert two DECREF_INPUTS() calls, in different branches of the code. The invariant checking would have to be able to do some flow control analysis to understand this. Note that many instructions, especially specialized ones, can't be converted to use this macro straightforwardly. This is because the generator currently only generates plain Py_DECREF(variable) statements, and cannot generate things like _Py_DECREF_SPECIALIZED() let alone deal with _PyList_AppendTakeRef(). Issue: gh-98831
Open Graph Description: The presence of this macro indicates that a particular instruction may be considered for conversion to a register-based format (see faster-cpython/ideas#485). An invariant (currently unchecked) is ...
X Description: The presence of this macro indicates that a particular instruction may be considered for conversion to a register-based format (see faster-cpython/ideas#485). An invariant (currently unchecked) is ...
Opengraph URL: https://github.com/python/cpython/pull/100205
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:973b54c4-b810-8b76-0e56-24c6debbb559 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | EA64:35B0FD:E2FF7B:1362C38:69693DA2 |
| html-safe-nonce | f6ec05bec6dce0a0ff70d8de5bd40b3672f7b85b5216cf5a2b43ff6322a17149 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTY0OjM1QjBGRDpFMkZGN0I6MTM2MkMzODo2OTY5M0RBMiIsInZpc2l0b3JfaWQiOiI4NTg0ODkyMDgzMTE5NjY4NjQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bea5045b3c7ad5743fcca142a78e0bf5667707be60167f530b85098f84ee2de6 |
| hovercard-subject-tag | pull_request:1161977088 |
| 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/100205/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 presence of this macro indicates that a particular instruction may be considered for conversion to a register-based format (see faster-cpython/ideas#485). An invariant (currently unchecked) is ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width