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

[mini] Emit a null check using MONO_EMIT_NEW_CHECK_THIS for GetArrayDataReference #72897

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

lambdageek
Copy link
Member

@lambdageek lambdageek commented Jul 26, 2022

using MONO_EMIT_NULL_CHECK does not emit a null check in the backend
if the pointer is otherwise unused

Fixes #72745

…ataReference

using MONO_EMIT_NULL_CHECK does not emit a null check in the backend
if the pointer is otherwise unused

Fixes dotnet#72745
@ghost ghost assigned lambdageek Jul 26, 2022
@lambdageek lambdageek changed the title [mini] Emit a null check using MONO_EMIT_NEW_CHECK_THIS for GetArrayD… [mini] Emit a null check using MONO_EMIT_NEW_CHECK_THIS for GetArrayDataReference Jul 26, 2022
@MichalPetryka
Copy link
Contributor

Note that the tests for this are currently only in #72725.

@lambdageek lambdageek merged commit 35d1171 into dotnet:main Jul 27, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JIT/Intrinsics/MemoryMarshalGetArrayDataReference from #72725 fails on Mono JIT
3 participants