[Crossgen2] Remove legacy behavior around non-virtual interface calls (#38564)
authorSimon Nattress <nattress@gmail.com>
Mon, 29 Jun 2020 23:37:52 +0000 (16:37 -0700)
committerGitHub <noreply@github.com>
Mon, 29 Jun 2020 23:37:52 +0000 (16:37 -0700)
commit3d988b55b352f857f9d0fd01a385e8343d104eef
tree09e51f831b601c46a83d4d718bd793f8e4a42bff
parent3c9fcce29d00d0d38148c4113b17aeeaa5cbc970
[Crossgen2] Remove legacy behavior around non-virtual interface calls (#38564)

Resolves https://github.com/dotnet/runtime/issues/37400

The regression test was not failing in Crossgen2 because somewhere along the way when we eyeball ported `getCallInfo` the ordering of these two if block was switched, so Crossgen2 was always treating such calls as non-virtual.
src/coreclr/src/tools/aot/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs