-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
GH-118095: Use broader specializations in tier 1, for better tier 2 support of calls. #118322
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
0b157ab
Add CALL_PY_GENERAL and CALL_BOUND_METHOD_GENERAL call specializations.
markshannon 2262f98
Add CALL_NON_PY_GENERAL call specialization
markshannon 4af43c2
Remove CALL_PY_WITH_DEFAULTS specialization
markshannon b7795e3
Fix JIT build
markshannon e5c7dce
Use CALL_NON_PY_GENERAL in more cases when otherwise failing to speci…
markshannon 61abb3b
Delete unused code
markshannon b49bc86
Make sure that function version number is checked when tracing throug…
markshannon f42519d
whitespace
markshannon 3294632
Merge branch 'main' into tier-2-call
markshannon 1a2dcfe
Check verion on function, not method
markshannon 62ff43c
Lower WASI C recursion limit again
markshannon 71c6d41
Get test passing on wasi
markshannon 0b40773
Lower WASI C recursion limit again
markshannon 02cdf2f
Yet another attempt to get the WASI build to work
markshannon 1831eb3
Skip test for WASI
markshannon 7819b1c
Skip another test for WASI
markshannon 857d152
Address some review comments
markshannon 839d16e
Use _SAVE_RETURN_OFFSET in general call instructions
markshannon 1d5c0a7
Merge branch 'main' into tier-2-call
markshannon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Delete unused code
- Loading branch information
commit 61abb3b1a1f5849746ed2f59e24ef0229cf1d524
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really cool. Am I correct that we are now (in theory) able to specialize all calls, except for those where:
And even these can be specialized, even if it doesn't make a whole lot of sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, more or less. There might be a few other cases, but they are all very rare.