You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
; Method Program:<<Main>$>g__Set|0_0(System.Object[]) (FullOpts)G_M000_IG01: ;; offset=0x0000subrsp,40G_M000_IG02: ;; offset=0x0004cmp dword ptr [rcx+0x08],0jbe SHORT G_M000_IG04G_M000_IG03: ;; offset=0x000Aaddrsp,40retG_M000_IG04: ;; offset=0x000Fcall CORINFO_HELP_RNGCHKFAIL int3 ; Total bytes of code: 21
By eliding the CORINFO_HELP_LDELEMA_REF call that does the variance checking, does that mean the JIT's optimizations are changing program behavior in a way we try not to?
The text was updated successfully, but these errors were encountered:
This code throws an ArrayTypeMismatchException:
SharpLab
But this code does not:
SharpLab
By eliding the CORINFO_HELP_LDELEMA_REF call that does the variance checking, does that mean the JIT's optimizations are changing program behavior in a way we try not to?
The text was updated successfully, but these errors were encountered: