-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Convert JitHelper JIT_StrCns to QCall
#113674
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
Conversation
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.
Pull Request Overview
This PR converts the JitHelper JIT_StrCns to a QCall implementation to remove the Helper Method Frame (HMF).
- Added a new QCall method (StrCnsInternal) using LibraryImport with QCall entry point.
- Introduced an internal StrCns method that calls StrCnsInternal and converts the returned pointer to a string.
Files not reviewed (11)
- src/coreclr/inc/jithelpers.h: Language not supported
- src/coreclr/vm/appdomainnative.cpp: Language not supported
- src/coreclr/vm/appdomainnative.hpp: Language not supported
- src/coreclr/vm/ceeload.cpp: Language not supported
- src/coreclr/vm/ceeload.h: Language not supported
- src/coreclr/vm/corelib.h: Language not supported
- src/coreclr/vm/jithelpers.cpp: Language not supported
- src/coreclr/vm/jitinterface.cpp: Language not supported
- src/coreclr/vm/jitinterface.h: Language not supported
- src/coreclr/vm/metasig.h: Language not supported
- src/coreclr/vm/qcallentrypoints.cpp: Language not supported
src/coreclr/System.Private.CoreLib/src/System/String.CoreCLR.cs
Outdated
Show resolved
Hide resolved
|
Tagging subscribers to this area: @mangod9 |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
src/coreclr/System.Private.CoreLib/src/System/String.CoreCLR.cs
Outdated
Show resolved
Hide resolved
src/coreclr/System.Private.CoreLib/src/System/String.CoreCLR.cs
Outdated
Show resolved
Hide resolved
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.
LGTM otherwise
|
/ba-g Known failure - #113652 |
Remove Helper Method Frame (HMF) by converting to QCall.