InlineRefactoring: capturing bits of legacy policy
authorAndy Ayers <andya@microsoft.com>
Thu, 25 Feb 2016 00:14:32 +0000 (16:14 -0800)
committerAndy Ayers <andya@microsoft.com>
Fri, 26 Feb 2016 02:42:45 +0000 (18:42 -0800)
commite660ef5a855792ad0a8dccdcf46acb435e33ed6e
treeb014ad601064b39f1801a45db5b8972c6388c22f
parent438c9f4fc3ec1f4aed30cf449c2a19fecc6c29b1
InlineRefactoring: capturing bits of legacy policy

Rework the logic for force inline, basic block count, il size,
and maxstack so that the policy decides when these values
should inhibit inlining.

Commit migrated from https://github.com/dotnet/coreclr/commit/14120d399fa46844bd60c66b5b4bdb4c5ed6435d
src/coreclr/src/jit/compiler.cpp
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/flowgraph.cpp
src/coreclr/src/jit/importer.cpp
src/coreclr/src/jit/inline.def
src/coreclr/src/jit/inlinepolicy.cpp
src/coreclr/src/jit/inlinepolicy.h