Inliner: fix RARE_GC_STRUCT observation impact
authorAndy Ayers <andya@microsoft.com>
Tue, 25 Oct 2016 16:31:47 +0000 (09:31 -0700)
committerAndy Ayers <andya@microsoft.com>
Tue, 25 Oct 2016 16:31:47 +0000 (09:31 -0700)
commite886c33fe9cafe512146ecb3017060e6302d98a6
treeeed2e8cabfa96a59a3b5589ee1bc1a23daa70b40
parent1087bcaa1e1e63110ea5ef7eace171132c2ee686
Inliner: fix RARE_GC_STRUCT observation impact

Closes dotnet/coreclr#7792.

Since this observation isn't always fatal, change its impact to INFORMATION.
Also, refresh the assertion checking around fatal observations so that the
EnhancedLegacyPolicy (which is the current default) will catch this kind of
error going forward.

Commit migrated from https://github.com/dotnet/coreclr/commit/ee0344e285c1c9727e35e16ff2502a8e4937a96e
src/coreclr/src/jit/inline.def
src/coreclr/src/jit/inlinepolicy.cpp