Do not devirtualize shared default interface methods (#15979)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Wed, 24 Jan 2018 00:10:52 +0000 (01:10 +0100)
committerJan Kotas <jkotas@microsoft.com>
Wed, 24 Jan 2018 00:10:52 +0000 (16:10 -0800)
commit3211c255a54b2956b345ba85e7be371548264e7a
tree09619a0fe1b41e174f52cdb57acfc6061c8815d2
parent2dbcd446269df79a49bfb3e1222fccdb22db27ef
Do not devirtualize shared default interface methods (#15979)

The result of the devirtualization for a method on a generic type should be an instantiating stub, but this doesn't seem to work right.

Fixing that is a perf issue (that can be triaged/punted - #15977). This commit is a correctness fix to avoid bad codegen for that case.

Resolves #15591.
src/vm/jitinterface.cpp
tests/issues.targets
tests/testsFailingOutsideWindows.txt