Use sigInst.methInstCount != 0 to detect generic methods (dotnet/coreclr#11780)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Tue, 23 May 2017 01:27:19 +0000 (18:27 -0700)
committerGitHub <noreply@github.com>
Tue, 23 May 2017 01:27:19 +0000 (18:27 -0700)
commit67f70dbc02129e3ac1e746d0f4b8d9f09975957a
tree4a8ca6d9a65d156fb61d9c84d1b3e9f7b9996501
parent20277592d14b13e8674fc7ca9b4ce801f1a9738a
Use sigInst.methInstCount != 0 to detect generic methods (dotnet/coreclr#11780)

`methInstCount` is the thing that RyuJIT uses to detect generic virtual
methods in another place. `CORINFO_CALLCONV_GENERIC` reporting was added
because nobody knew about `methInstCount`. We already report
`methodInstCount` in CoreRT. We can delete a couple of lines on the
CoreRT side by switching to this scheme.

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