Use sigInst.methInstCount != 0 to detect generic methods (#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)
commitb7751d55b3f584e118c0dcba3ede6ed752c1175c
tree4b3d3413ee5d55c34fad26ab544ec0c268114da1
parente2b4629d8cd3c11f93f787f80b469cbed955b74d
Use sigInst.methInstCount != 0 to detect generic methods (#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.
src/jit/importer.cpp