[interp] Inline also constructors of valuetypes (#33632)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Wed, 18 Mar 2020 21:47:27 +0000 (17:47 -0400)
committerGitHub <noreply@github.com>
Wed, 18 Mar 2020 21:47:27 +0000 (23:47 +0200)
commit21ce329195eb4378687dc9664271db821aefbd0c
treef0906929100f111782b727777d27afe5037f734f
parentce7133694f8a79bef86d6a3c8bd3c5a904f4b0e8
[interp] Inline also constructors of valuetypes (#33632)

Speeds up by 3.5x some span operations. We will likely get even more performance improvement there by adding special handling in interpreter for IntPtr.

Co-authored-by: BrzVlad <BrzVlad@users.noreply.github.com>
src/mono/mono/mini/interp/interp.c
src/mono/mono/mini/interp/transform.c