[mono][interp] Preserve type information of stack args when inlining (#86898)
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 31 May 2023 09:04:16 +0000 (12:04 +0300)
committerGitHub <noreply@github.com>
Wed, 31 May 2023 09:04:16 +0000 (12:04 +0300)
commit6c84f89fe88aaa67fdd9a7add1efd064dd6ac059
tree8685a3b39035fdcb4043a9579d7b88de35fbeb37
parentbc4c942dc042f795e736d4d0d43a6194a84d9a79
[mono][interp] Preserve type information of stack args when inlining (#86898)

In order to enable more devirtualization. Type information from caller method should always be more specific (or the same) as the one coming from inlined method signature.
src/mono/mono/mini/interp/transform.c