[mono][aot] Share more vtypes in get_wrapper_shared_vtype (). (#52337)
authorZoltan Varga <vargaz@gmail.com>
Thu, 6 May 2021 05:20:00 +0000 (01:20 -0400)
committerGitHub <noreply@github.com>
Thu, 6 May 2021 05:20:00 +0000 (01:20 -0400)
commit5cef565cac7b2d6a6b9dc9f9af982daa0ea96aa8
tree681f97e3752ea31ddb87769cd56f7bad3db93f3b
parentdd87a868dbd6aed8f7a03345932580d59b3f870a
[mono][aot] Share more vtypes in get_wrapper_shared_vtype (). (#52337)

Use Mono.ValueTuple in cases where a vtype has the right size/alignment
even if its field don't match the fields of a ValueTuple instance, only
the size/alignment has to match.
src/mono/mono/mini/mini-generic-sharing.c