Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-106581: SplitCALL_PY_EXACT_ARGS into uops#107760
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 from1 commit
56133bb907ff952c6be6d6d78ff20d8e66cb75f30e61c2822f73ea9012910fc2fafa2c2717b07e4879081d549aff40fb1f4f6f8f86facc8d94630d4cf8e2c01e6287605af848File 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
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
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.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -2944,14 +2944,22 @@ dummy_func( | ||
| GO_TO_INSTRUCTION(CALL_PY_EXACT_ARGS); | ||
| } | ||
| op(_CHECK_PEP_523, (--)) { | ||
| DEOPT_IF(tstate->interp->eval_frame, CALL); | ||
| } | ||
| op(_CHECK_FUNCTION_EXACT_ARGS, (func_version/2, callable, self_or_null, unused[oparg] -- callable, self_or_null, unused[oparg])) { | ||
| ASSERT_KWNAMES_IS_NULL(); | ||
| DEOPT_IF(!PyFunction_Check(callable), CALL); | ||
| PyFunctionObject *func = (PyFunctionObject *)callable; | ||
| DEOPT_IF(func->func_version != func_version, CALL); | ||
| PyCodeObject *code = (PyCodeObject *)func->func_code; | ||
| DEOPT_IF(code->co_argcount != oparg + (self_or_null != NULL), CALL); | ||
| } | ||
| op(_CHECK_STACK_SPACE, (callable, unused, unused[oparg] -- callable, unused, unused[oparg])) { | ||
| PyFunctionObject *func = (PyFunctionObject *)callable; | ||
| PyCodeObject *code = (PyCodeObject *)func->func_code; | ||
| DEOPT_IF(!_PyThreadState_HasStackSpace(tstate, code->co_framesize), CALL); | ||
gvanrossum marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| } | ||
| @@ -2976,7 +2984,9 @@ dummy_func( | ||
| macro(CALL_PY_EXACT_ARGS) = | ||
| unused/1 + // Skip over the counter | ||
| _CHECK_PEP_523 + | ||
| _CHECK_FUNCTION_EXACT_ARGS + | ||
| _CHECK_STACK_SPACE + | ||
| _INIT_CALL_PY_EXACT_ARGS + | ||
| _PUSH_FRAME; | ||
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.