[interp] Fix virtual calls in mixed mode (#18526)
commit60b28b3b56cfe8ab24375c67807940d54ff3188e
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 29 Jan 2020 08:01:58 +0000 (29 00:01 -0800)
committerGitHub <noreply@github.com>
Wed, 29 Jan 2020 08:01:58 +0000 (29 00:01 -0800)
tree31d6c25e1a69b105ed9c46541a1104efa476de6e
parent883162e861c95b7be7c3e830f1d70ff1c8e74fa9
[interp] Fix virtual calls in mixed mode (#18526)

* [interp] Enable virtual calls to compiled code

If we have an aot-ed version of a method we should always go through it, because the IL for that method could be stripped.

* [interp] Disable jit call for wrappers

Some generic wrappers don't seem to work in mixed mode, probably due to the fact that the transition already reuses a gshared wrapper.
mono/mini/interp/interp-internals.h
mono/mini/interp/interp.c
mono/mini/interp/transform.c