-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid unnecessary return val copying in tailcall-via-help (#72720)
The initial implementation of this did not handle the fact that retbuf can point to GC heap during reflection invoke. It was fixed in #39815, but the way it was fixed was by copying it into a local. This changes the fix so that we simply report the return value pointer as a byref throughout the mechanism, which simplifies the JIT's handling and is a perf improvement as well.
- Loading branch information
1 parent
c22f7f8
commit c9c27d4
Showing
4 changed files
with
30 additions
and
54 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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