JIT: fix confusing inline failure reason
authorAndy Ayers <andya@microsoft.com>
Thu, 9 Feb 2017 22:23:45 +0000 (14:23 -0800)
committerAndy Ayers <andya@microsoft.com>
Thu, 9 Feb 2017 22:23:45 +0000 (14:23 -0800)
commit1e08c762ba686282eb3075e260a7a309e0f31646
tree7ed2efd83283b36d372d91534e0fcbe9a3ca9160
parent9ef6ff1756057e06dc9afe009358113913bf2f44
JIT: fix confusing inline failure reason

When attempting to inline a method from the core library, the inline
will fail if the method being inlined has a noinline callee; the
presumption being that the callee expects to be able to find it's
immediate caller on the stack (this may or not may be the case, see dotnet/coreclr#8102).

Update the failure message for this case to hopefully better explain
why the inline doesn't happen.

Commit migrated from https://github.com/dotnet/coreclr/commit/0826f9dee6a8fdf8266523945708a684376b0280
src/coreclr/src/jit/importer.cpp
src/coreclr/src/jit/inline.def