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

Implement DefType.IsUnsafeValueType #56790

Merged
merged 3 commits into from
Aug 5, 2021

Conversation

jakobbotsch
Copy link
Member

I ran into a test failure while working on #56669 because we did an unexpected tailcall. In the test (TailcallVerifyWithPrefix TailcallVerify.Condition17.Test1) we expect not to do a fast tailcall because there is an unsafe value type and we expect to do a GS cookie check before exit, but because of this TODO we didn't.

cc @dotnet/crossgen-contrib

Copy link
Member

@MichalStrehovsky MichalStrehovsky left a comment

Choose a reason for hiding this comment

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

I wish we could introduce the new property on MetadataType instead of DefType, but we don't have a place to cache things on MetadataType. Thanks!

@jakobbotsch
Copy link
Member Author

/azp run runtime-coreclr outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

jakobbotsch and others added 3 commits August 5, 2021 13:28
@jakobbotsch
Copy link
Member Author

I rebased to make sure I picked up #56889.

/azp run runtime-coreclr outerloop

@jakobbotsch
Copy link
Member Author

/azp run runtime-coreclr outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jakobbotsch
Copy link
Member Author

The failures look to be preexisting.

@jakobbotsch jakobbotsch merged commit 9fbf048 into dotnet:main Aug 5, 2021
@jakobbotsch jakobbotsch deleted the cg2-unsafe-valuetypes branch August 5, 2021 17:35
@ghost ghost locked as resolved and limited conversation to collaborators Sep 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants