-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Delete redundant RhpUniversalTransition #122689
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
Left-over from .NET Native calling convention converter. We only need the tailcall variant of universal transition.
|
Related to #122639 |
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 removes the redundant RhpUniversalTransition function that was a leftover from the .NET Native calling convention converter. Only the tailcall variant is retained, which is the only one actually needed.
Key Changes
- Renamed
RhpUniversalTransition_DebugStepTailCalltoRhpUniversalTransitionTailCallacross all architectures - Removed the non-tailcall
RhpUniversalTransitionvariant and associated debugger step-in/step-over comments - Removed
FEATURE_DYNAMIC_CODEandFEATURE_CUSTOM_IMPORTSpreprocessor conditionals and definitions
Reviewed changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/coreclr/runtime/riscv64/StubDispatch.S | Updated external reference and call to use renamed RhpUniversalTransitionTailCall |
| src/coreclr/runtime/loongarch64/StubDispatch.S | Updated external reference and branch to use renamed RhpUniversalTransitionTailCall |
| src/coreclr/runtime/i386/StubDispatch.asm | Updated external reference and jump to use renamed RhpUniversalTransitionTailCall |
| src/coreclr/runtime/arm/StubDispatch.S | Updated branch to use renamed RhpUniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/riscv64/UniversalTransition.S | Removed UniversalTransition and UniversalTransition_DebugStepTailCall variants, kept only UniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/portable.cpp | Updated return location variables to use new UniversalTransitionTailCall naming |
| src/coreclr/nativeaot/Runtime/loongarch64/UniversalTransition.S | Removed redundant variants, kept only UniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/i386/UniversalTransition.asm | Removed FEATURE_DYNAMIC_CODE conditional and redundant variants, kept only UniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/arm64/UniversalTransition.asm | Removed redundant variants and debugger step-in/step-over comments, kept only UniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/arm64/UniversalTransition.S | Removed redundant variants and debugger step-in/step-over comments, kept only UniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/arm64/CachedInterfaceDispatchAot.asm | Updated external reference and branch to use renamed RhpUniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/arm64/CachedInterfaceDispatchAot.S | Updated external reference and branch to use renamed RhpUniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/arm/UniversalTransition.S | Removed FEATURE_DYNAMIC_CODE conditional and redundant variants, kept only UniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/amd64/UniversalTransition.asm | Removed FEATURE_DYNAMIC_CODE conditional and redundant variants, kept only UniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/amd64/UniversalTransition.S | Removed FEATURE_DYNAMIC_CODE conditional and redundant variants, kept only UniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/amd64/CachedInterfaceDispatchAot.asm | Removed duplicate EXTERN declarations and updated to use renamed RhpUniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/amd64/CachedInterfaceDispatchAot.S | Updated jump to use renamed RhpUniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/StackFrameIterator.cpp | Removed FEATURE_DYNAMIC_CODE conditional, updated return address checks to use only ReturnFromUniversalTransitionTailCall |
| src/coreclr/nativeaot/Runtime/CMakeLists.txt | Removed FEATURE_CUSTOM_IMPORTS and FEATURE_DYNAMIC_CODE feature definitions |
Left-over from .NET Native calling convention converter. We only need the tailcall variant of universal transition.