Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
gh-144005: Eliminate redundant refcounting in the JIT for BINARY_OP_EXTEND#144006
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
d9f292c8b9d977b3d8e3eacd784a3884cc2bc9d1088e1bcaae1ccc3a444c8d8d82c468c9c716f9cd6ebeFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Eliminate redundant refcounting from ``BINARY_OP_EXTEND``. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -829,7 +829,7 @@ dummy_func( | ||
| DEOPT_IF(!res); | ||
| } | ||
| op(_BINARY_OP_EXTEND, (descr/4, left, right -- res, l, r)) { | ||
| PyObject *left_o = PyStackRef_AsPyObjectBorrow(left); | ||
| PyObject *right_o = PyStackRef_AsPyObjectBorrow(right); | ||
| assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5); | ||
| @@ -838,13 +838,18 @@ dummy_func( | ||
| STAT_INC(BINARY_OP, hit); | ||
| PyObject *res_o = d->action(left_o, right_o); | ||
aisk marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| if (res_o == NULL) { | ||
| ERROR_NO_POP(); | ||
| } | ||
| res = PyStackRef_FromPyObjectSteal(res_o); | ||
| l = left; | ||
| r = right; | ||
| DEAD(left); | ||
| DEAD(right); | ||
| } | ||
| macro(BINARY_OP_EXTEND) = | ||
| unused/1 + _GUARD_BINARY_OP_EXTEND + rewind/-4 + _BINARY_OP_EXTEND + POP_TOP + POP_TOP; | ||
| macro(BINARY_OP_INPLACE_ADD_UNICODE) = | ||
| _GUARD_TOS_UNICODE + _GUARD_NOS_UNICODE + unused/5 + _BINARY_OP_INPLACE_ADD_UNICODE; | ||
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.