-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Fix invalid pointer types in ldloca/ldarga descriptions #9574
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
Those are documented to push managed pointers on the stack in the ECMA 335 and the runtime implements them as such.
|
Learn Build status updates of commit 8117734: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
reflectronic
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.
conv.u does not convert managed pointers to transient pointers (type *), so this patch is incorrect. The transient pointers concept was deleted from the standard recently in dotnet/runtime#86622, so any reference to transient pointers should be deleted. There are many more references elsewhere in this file.
|
Tagging @dotnet/area-system-reflection-emit |
|
PTAL @AaronRobinsonMSFT |
Co-authored-by: John Tur <[email protected]>
|
Learn Build status updates of commit f1e1045: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
|
/cc @gewarren |
|
@AaronRobinsonMSFT Is this how it should render?
|
Definitely not. Let me try again. :) |
|
Learn Build status updates of commit a9f13cd: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
|
@gewarren Should be fixed now. |
gewarren
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
Apply #9574 to ldloca.s. --------- Co-authored-by: Jan Kotas <[email protected]>


Summary
Those are documented to push managed pointers on the stack in the ECMA 335 and the runtime implements them as such.