JIT: retrieve element class for arrays of ref types (dotnet/coreclr#20292)
authorAndy Ayers <andya@microsoft.com>
Mon, 8 Oct 2018 20:15:36 +0000 (13:15 -0700)
committerGitHub <noreply@github.com>
Mon, 8 Oct 2018 20:15:36 +0000 (13:15 -0700)
commitf7e2ce04e12f56946cea15b519bfc4204d6d630f
treee31dfee0694e50b2c3af427c00accbd4c0671c40
parent8a34fca9a6a31f9efc2faf0e560515c7b0e5e614
JIT: retrieve element class for arrays of ref types (dotnet/coreclr#20292)

Allows element-typed based optimizations for some array cases, say
virtual calls through a `string[]`.

Commit migrated from https://github.com/dotnet/coreclr/commit/bcc4cec7646f0df99c5a83e3dd72ec2d39e0ee01
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/gentree.cpp