Skip to content

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