Jit: track ref types for inlinee locals and args
authorAndy Ayers <andya@microsoft.com>
Mon, 20 Mar 2017 18:12:05 +0000 (11:12 -0700)
committerAndy Ayers <andya@microsoft.com>
Thu, 23 Mar 2017 17:42:02 +0000 (10:42 -0700)
commita2710a338693e5c0656088e7bc0bdff26349250e
treeab04d8a2848924d9222e9601ebb63443de91b454
parent200b9df7eb7b17a822e584169f94a54da8def792
Jit: track ref types for inlinee locals and args

The jit may use new temporaries for inline locals and args. For temps
representing ref type locals and args, propagate the class handle from
the appropriate signature. This makes more types to be available for
devirtualization.

Also in addition to capturing arg ref types, cleanup `impInlineFetchArg`
by commoning out the table lookups and adding a header comment.

Commit migrated from https://github.com/dotnet/coreclr/commit/22668cc8a71140f8c8fa467e70d735cb0a00035e
src/coreclr/src/jit/importer.cpp