Use CORINFO_CALLCONV to check for unmanaged calls (#9697)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Wed, 22 Feb 2017 00:37:04 +0000 (16:37 -0800)
committerGitHub <noreply@github.com>
Wed, 22 Feb 2017 00:37:04 +0000 (16:37 -0800)
commit0b4e58ac7a455640a5410b6f647ca3044426ea56
treeef56bad85697eb5be49062616ed745f0caeecc30
parent2d7eedbbfd0d259659517ca68de05b82ec7f87a5
Use CORINFO_CALLCONV to check for unmanaged calls (#9697)

`GTF_CALL_UNMANAGED` is a member of the wrong enum and it's something
that would be set on `call->gtFlags` except that at this point it isn't.
Check against the actual unmanaged calling conventions.
src/jit/importer.cpp