Inliner: restore some force inline overrides
authorAndy Ayers <andya@microsoft.com>
Tue, 1 Mar 2016 21:11:59 +0000 (13:11 -0800)
committerAndy Ayers <andya@microsoft.com>
Wed, 2 Mar 2016 01:22:52 +0000 (17:22 -0800)
commit8651c4b949d700bc952c9ce5a64098486ec55d90
treeee9bda3b45dc244e5c166b76860fc74e82b17ce3
parent854af6a4e11dff8d9e09b7b7fd7a9c32eb14ca47
Inliner: restore some force inline overrides

Force inline should override the IL size and maxstack limits imposed
for normal inlines. This change undoes an unintentional behavior change
from recent refactoring.

Added some test cases which are sensitive to this behavior.

Also, since we now track failing inlines, dump the inline tree even
if no methods were successfully inlined.
src/jit/flowgraph.cpp
src/jit/inlinepolicy.cpp
tests/src/JIT/Directed/forceinlining/AttributeConflict.il [new file with mode: 0644]
tests/src/JIT/Directed/forceinlining/AttributeConflict.ilproj [new file with mode: 0644]
tests/src/JIT/Directed/forceinlining/NegativeCases.il [new file with mode: 0644]
tests/src/JIT/Directed/forceinlining/NegativeCases.ilproj [new file with mode: 0644]
tests/src/JIT/Directed/forceinlining/PositiveCases.il [new file with mode: 0644]
tests/src/JIT/Directed/forceinlining/PositiveCases.ilproj [new file with mode: 0644]