Fix crossgen2 interface static constructor handling (#370)
authorJan Vorlicek <janvorli@microsoft.com>
Thu, 28 Nov 2019 02:18:32 +0000 (03:18 +0100)
committerGitHub <noreply@github.com>
Thu, 28 Nov 2019 02:18:32 +0000 (03:18 +0100)
commita9c2ad1aaf64b069c5d46d9c3e59105511ae5117
treeba4e9e977dfcb63d8bbb4d9dd2e2792d89686342
parent138f06858daea8f7314c4fbd9961c922f840fca8
Fix crossgen2 interface static constructor handling (#370)

Crossgen2 is not generating calls to static constructors of interfaces.
This is caused by a missing part of a condition in the initClass JIT
interface method. That condition is present in the runtime version of
that method.

This change fixes it.
src/coreclr/src/tools/Common/JitInterface/CorInfoImpl.cs