Skip to content
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

Delete RuntimeTypeHandle.GetValueInternal #577

Merged
merged 1 commit into from
Jan 22, 2021

Conversation

MichalStrehovsky
Copy link
Member

GetValueInternal may or may not go away from RyuJIT at some point.

We originally used this to implement EETypePtrOf, but the IL-based implementation had problems with generic inlining so we replaced it in dotnet/corert#3814.

The fallback IL was probably still used for CppCodegen at that time so it wasn't deleted.

GetValueInternal may or may not go away from RyuJIT at some point.

We originally used this to implement EETypePtrOf, but the IL-based implementation had problems with generic inlining so we replaced it in dotnet/corert#3814.

The fallback IL was probably still used for CppCodegen at that time so it wasn't deleted.
@MichalStrehovsky MichalStrehovsky added the area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation label Jan 22, 2021
@MichalStrehovsky
Copy link
Member Author

Cc @yowl - you might be able to delete similar handling on the WASM side.

If I see right, WASM doesn't consider EETypePtrOf an intrinsic yet so it falls back to the IL I'm deleting - the handling of EETypePtrOf should be same as DefaultConstructorOf except instead of getting the default constructor, we get the ConstructedTypeSymbol of the T.

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants