[aot] Fix the lookup of jit info for WASM. On wasm, methods have no size, so only...
authormonojenkins <jo.shields+jenkins@xamarin.com>
Tue, 18 Aug 2020 18:24:07 +0000 (14:24 -0400)
committerGitHub <noreply@github.com>
Tue, 18 Aug 2020 18:24:07 +0000 (14:24 -0400)
commita949686ee7f18ecf2020025d62caf7aa7ccf834d
tree671aeda471e379ccdc6736c71c7d1ef9362b8045
parent2f4f15edbdf2fbbf048561468122129ddfe79dc4
[aot] Fix the lookup of jit info for WASM. On wasm, methods have no size, so only the method address can be looked up, jinfo->code_size is set to 1. (#40969)

Fixes https://github.com/mono/mono/issues/20256.

Co-authored-by: vargaz <vargaz@users.noreply.github.com>
src/mono/mono/mini/aot-runtime.c