-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Fix JITEEInterface::IsValueClass to return false for pointers. #50749
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
|
PTAL @jkotas, @AndyAyersMS , cc @MichalStrehovsky @dotnet/jit-contrib |
|
There are no diffs crossgen/pmi on --f. I have manually collected dasm for base and diff using different VM versions and checked with jit-analyze. |
|
Could you please also make a matching change in Change And delete this from The VM side of the change looks good to me otherwise. |
46c37bc to
e1d07cf
Compare
|
ping @dotnet/jit-contrib |
AndyAyersMS
left a comment
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.
This will need a new jit GUID.
AndyAyersMS
left a comment
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.
Fixes #44730
In the past, we did not see REF types from
ldobj handle, we had:and jit treated it like a value type with POINTER_SIZE(in this case 8-byte, so used long):
after the VM change we see the real REF type (a pointer to an object on a heap):
Note that we allow REF->IMPL conversion, but not IMPL->REF, cc @AndyAyersMS .
I guess I need to revert part of #44465 but not sure what exactly.