[interp] Fix native to interp transition (#6868)
commita33cbb873c487490f2a3c271b24c70c1c3fc0a2c
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 14 Feb 2018 21:09:59 +0000 (14 23:09 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Feb 2018 21:09:59 +0000 (14 23:09 +0200)
tree5d90440f0b3e1aa8db58c21bab1964246b5dac92
parent7cac757e60cd61aa070f7e0fffca225364f58c0c
[interp] Fix native to interp transition (#6868)

When using the interp_wrapper to enter interp from native we don't need to save the lmf since it doesn't make sense to unwind to native. Also make sure we have the interp context set up if we weren't attached at interp transition time.
mono/mini/interp/interp.c
mono/mini/mini-generic-sharing.c
mono/tests/Makefile.am