[mono] Allow a single call when inlining methods (#83548)
authorKatelyn Gadd <kg@luminance.org>
Fri, 17 Mar 2023 01:20:12 +0000 (18:20 -0700)
committerGitHub <noreply@github.com>
Fri, 17 Mar 2023 01:20:12 +0000 (18:20 -0700)
commit3fec6864a8f728d01f4f4056c025a4aee361ea9e
treeab5db79a78ffa700765ccbde54d798095d5e8649
parent987cb2bee221aabbb9dd46caeabb6fc8c86708f1
[mono] Allow a single call when inlining methods (#83548)

Allow a single call when inlining methods, this makes it theoretically possible to inline List.get_Item
Don't allow doesnotreturn method calls to disable inlining, since we know they are unlikely to be called
src/mono/mono/mini/interp/transform.c
src/mono/mono/mini/interp/transform.h