Inliner: make ModelPolicy available in release builds
authorAndy Ayers <andya@microsoft.com>
Tue, 28 Jun 2016 22:07:01 +0000 (15:07 -0700)
committerAndy Ayers <andya@microsoft.com>
Thu, 30 Jun 2016 20:40:50 +0000 (13:40 -0700)
commitda74a2ccd7c84f472874895cbf490a8701eb390b
treee1890c5b5bd85546f0f87b0de5ee4fd1b7e2ff1e
parentf19622bc4363427757e5845e9529fbd8fa186bc0
Inliner: make ModelPolicy available in release builds

Make the ModelPolicy available in release builds of the jit. Enable this
policy by setting:

   COMPLUS_JitInlinePolicyModel=1

This works for either jitting or prejitting.

Update the ModelPolicy so callee never inline decisions are always
propagated back to the runtime.

Commit migrated from https://github.com/dotnet/coreclr/commit/73ec3f5e0a240d3c9bd56f4159c94ca06d3c5392
src/coreclr/src/jit/inlinepolicy.cpp
src/coreclr/src/jit/inlinepolicy.h
src/coreclr/src/jit/jitconfigvalues.h