[interp] Move label outside of main loop (#35778)
authorVlad Brezae <brezaevlad@gmail.com>
Mon, 4 May 2020 09:23:59 +0000 (12:23 +0300)
committerGitHub <noreply@github.com>
Mon, 4 May 2020 09:23:59 +0000 (12:23 +0300)
commit626819d31d02256d8751a596f8702ccacbd32000
tree03af5678c9052cc31acb54dc779100d8595a87b6
parent8527a991b91cabc9bec6f6abe57a52b5bb5e154d
[interp] Move label outside of main loop (#35778)

Wasm has control flow limitations which don't go well with gotos. Move label outside of main loop because it translates to very poor wasm code. Other gotos don't seem to negatively impact instruction dispatch code, so leave them alone, for now ..
src/mono/mono/mini/interp/interp.c