InlineRefactor: rename inlExpLst to InlineContext
authorAndy Ayers <andya@microsoft.com>
Thu, 18 Feb 2016 23:28:08 +0000 (15:28 -0800)
committerAndy Ayers <andya@microsoft.com>
Fri, 19 Feb 2016 03:30:33 +0000 (19:30 -0800)
commit7bbf3066a3377cbc5c2c5a99e674624ad9de7b7f
treeb96c2edc077fb4b28e07a4664b6a4b9bbd5272be
parentabf93702efd3d69db0e753db5e88b601d51b9cf9
InlineRefactor: rename inlExpLst to InlineContext

Rename inlExpLst to InlineContext, and move the code for it into
the inlining files. Expand the context to capture the observation
leading to success. Defer generating the method names until the
context is dumped to avoid unnecessary debug/check allocations.

Make sure observation field on GenTreeCall is properly initialized
and copied, and give it the right type via an opaque forward
declaration.

Commit migrated from https://github.com/dotnet/coreclr/commit/c18892218e6b302eaaf504945feb5f469f65f663
src/coreclr/src/jit/block.cpp
src/coreclr/src/jit/block.h
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/flowgraph.cpp
src/coreclr/src/jit/gentree.cpp
src/coreclr/src/jit/gentree.h
src/coreclr/src/jit/inline.cpp
src/coreclr/src/jit/inline.h
src/coreclr/src/jit/morph.cpp