[jit] In native-to-managed wrappers, emit the initlocals code for vtypes after the...
authorZoltan Varga <vargaz@gmail.com>
Thu, 5 Oct 2017 12:10:20 +0000 (14:10 +0200)
committerGitHub <noreply@github.com>
Thu, 5 Oct 2017 12:10:20 +0000 (14:10 +0200)
commit012f8610237dfe44034c9d8daea0b90fac75ca9f
treea07c053ef4c44bdb88c0b49a570ff04d4fd30a6d
parentb2a11ac756f940c30b05aa0a8baf733572df4ce5
[jit] In native-to-managed wrappers, emit the initlocals code for vtypes after the code for CEE_JIT_ATTACH, since the init code can make calls to methods like memset () which can go through the trampoline code. Fixes #59182. (#5678)
mono/mini/method-to-ir.c
mono/tests/libtest.c
mono/tests/pinvoke3.cs