[interp] Use GetType instrinsic also on net4x (#17654)
commitb3b9960ed13a2f8e199bf4c32f9de92e9abf2f4b
authorVlad Brezae <brezaevlad@gmail.com>
Mon, 4 Nov 2019 17:58:38 +0000 (4 19:58 +0200)
committerZoltan Varga <vargaz@gmail.com>
Mon, 4 Nov 2019 17:58:38 +0000 (4 12:58 -0500)
treef6346801fc6ae2c4ba958ee58414abc21bcb20a2
parentdb49be3cbb8a50c848afffa9efd0bf0cbc880bce
[interp] Use GetType instrinsic also on net4x (#17654)

We didn't do this because it had some issues when GetType was invoked through reflection. This issue would also be present with jit but, because jit doesn't use direct wrappers, the GetType call can't be intrinsified in that scenario. See https://github.com/mono/mono/pull/5350 for the context of the issue.
mono/mini/interp/transform.c