Inliner: initial version of SizePolicy
authorAndy Ayers <andya@microsoft.com>
Sat, 30 Apr 2016 00:27:40 +0000 (17:27 -0700)
committerAndy Ayers <andya@microsoft.com>
Tue, 3 May 2016 16:31:38 +0000 (09:31 -0700)
commit1abcc46067d4d810294848d41ac1fe1019079ba8
tree4445fb6a805202e9fc14dbfcb8a01ada9711cdaa
parent9a51a7efa645c96f3d8f7b24b8e711b258b5c606
Inliner: initial version of SizePolicy

Add a new inline policy that tries to inline as much as possible
without increasing method size.

Fix one test that had an expected inline that doesn't happen under
the SizePolicy, by marking a method with AggressiveInline.

Commit migrated from https://github.com/dotnet/coreclr/commit/f57f3737a356f12fb494945c5750980fe14af020
src/coreclr/src/jit/inline.h
src/coreclr/src/jit/inlinepolicy.cpp
src/coreclr/src/jit/inlinepolicy.h
src/coreclr/src/jit/jitconfigvalues.h
src/coreclr/tests/src/JIT/jit64/regress/ddb/87766/ddb87766.cs