[interp] Intrinsify span ctor (#39195)
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 15 Jul 2020 16:37:07 +0000 (19:37 +0300)
committerGitHub <noreply@github.com>
Wed, 15 Jul 2020 16:37:07 +0000 (19:37 +0300)
commitef2ecfdf2634ebec75bda708c4535f36a37bc137
treef0703b2a97d8b406f47f94d634614f93b744893d
parent4cc375066efe88c131f357c4a57a5519898077ee
[interp] Intrinsify span ctor (#39195)

* [interp] Fix definition of instruction

* [interp] Intrinsify span ctor

It is heavily used in bcl for static read only spans.

In the future we should do copy propagation through its fields so we avoid creating the span in the first place and remove other unecessary opcodes.

* [interp] Allow method inlining if constructor is intrinsified

* Fix case where has_references is not yet initialized
src/mono/mono/metadata/exception.h
src/mono/mono/mini/interp/interp.c
src/mono/mono/mini/interp/mintops.def
src/mono/mono/mini/interp/transform.c