Inliner: add JitInlineLimit check to LegacyPolicy under debug
authorAndy Ayers <andya@microsoft.com>
Thu, 5 May 2016 23:48:53 +0000 (16:48 -0700)
committerAndy Ayers <andya@microsoft.com>
Thu, 5 May 2016 23:48:53 +0000 (16:48 -0700)
commit0feeb4ff48a6f0beb614ee2e3d3604e85dfbca27
treebc939d40adf3bd8f5d46f96805f6867edde6bd0d
parent3ddd9c43821bf617621f87d8d1519229e7d3b789
Inliner: add JitInlineLimit check to LegacyPolicy under debug

Adds the ability to limit the number of inlines done by the LegacyPolicy.
Useful in trying to binary search for inlines that cause correctness
issues.

This limit impacts inlining in all methods, so effective isolation may
also require use of JitNoInlineRange to hone in on the root method that
is the source of problems.
src/jit/inlinepolicy.cpp