Fix an assert error in crossgen2 on ARM (#32421)
authorDong-Heon Jung <dheon.jung@samsung.com>
Mon, 17 Feb 2020 05:01:39 +0000 (14:01 +0900)
committerGitHub <noreply@github.com>
Mon, 17 Feb 2020 05:01:39 +0000 (21:01 -0800)
- Initialize wrapperDelegateInvoke of CORINFO_CALL_INFO in ARM.

src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs

index ae8a7966a22947db1d3ceef75e693a33c1125caa..0b07c472f6cbda77fe38a6588157f9557bf5fa69 100644 (file)
@@ -1449,6 +1449,8 @@ namespace Internal.JitInterface
 
             pResult->methodFlags = getMethodAttribsInternal(methodToCall);
 
+            pResult->wrapperDelegateInvoke = false;
+
             Get_CORINFO_SIG_INFO(methodToCall, &pResult->sig, useInstantiatingStub);
         }