Use getLocationOfThisType instead of embedGenericHandle (dotnet/coreclr#7813)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Thu, 27 Oct 2016 02:57:41 +0000 (19:57 -0700)
committerGitHub <noreply@github.com>
Thu, 27 Oct 2016 02:57:41 +0000 (19:57 -0700)
commit5a9b55db90c8f90aaa7da6e69e6f2d169e00e430
tree50dab05776301294492e9313fb1342b1ab0177c7
parentea2e58d9d7c9729218c0b9d10e8ea02d28cd6901
Use getLocationOfThisType instead of embedGenericHandle (dotnet/coreclr#7813)

getLocationOfThisType does way less work and gives the same result (the part we care about).

Commit migrated from https://github.com/dotnet/coreclr/commit/22303a95a5320c4a339fe36c21ffaa9e59ffb08f
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/importer.cpp