Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: retype byrefs passed to unmanaged callers as native int
Make the jit more robust in cases where the IL producer is passing a byref to an unmanaged caller, by retyping the argument as native int. Allows the jit to produce self-consistent GC info and avoid the issues seen in dotnet#34279, at least for byrefs. Closes dotnet#39040.
- Loading branch information