Add missing case for constrained gsharedvt call. (#92347)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Thu, 21 Sep 2023 09:24:03 +0000 (02:24 -0700)
committerGitHub <noreply@github.com>
Thu, 21 Sep 2023 09:24:03 +0000 (02:24 -0700)
commitc4ea964c38a09a86871d9ad19deefe5fb5070315
tree9abd82bc1afc0cbcabd34c7a5250ca147ec56115
parent58eb21d3fede84306fcf3fa2ac4ff0f4cae86a5b
Add missing case for constrained gsharedvt call. (#92347)

https://github.com/dotnet/runtime/commit/1b788f4dc3e3a8829488e52c032ad6a70671e070
added a new value to our MonoRgctxInfoType enum type, but appears
that all cases where not full adjusted. Running System.Buffers tests
in full AOT hits the assert in info_equal about missing case,
https://github.com/dotnet/runtime/blob/0dc5903679606b072adac70a268cdb77d1147b3e/src/mono/mono/mini/mini-generic-sharing.c#L2908.

This commit adds the new enum value and align handling similar to other cases added
by that commit.

Co-authored-by: lateralusX <lateralusx.github@gmail.com>
src/mono/mono/mini/mini-generic-sharing.c