From: Manish Godse <61718172+mangod9@users.noreply.github.com> Date: Thu, 21 May 2020 01:10:01 +0000 (-0700) Subject: Adding a case requiring RuntimeJit (#36772) X-Git-Tag: submit/tizen/20210909.063632~7848 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4eaccd61b1a2a4b078140f8b36f2b45ab5980e8e;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Adding a case requiring RuntimeJit (#36772) Handle CORINFO_HELP_THROW_NOT_IMPLEMENTED --- diff --git a/src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs b/src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs index 5324970..8833031 100644 --- a/src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs +++ b/src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs @@ -626,6 +626,8 @@ namespace Internal.JitInterface case CorInfoHelpFunc.CORINFO_HELP_TYPEHANDLE_TO_RUNTIMETYPE_MAYBENULL: case CorInfoHelpFunc.CORINFO_HELP_TYPEHANDLE_TO_RUNTIMETYPEHANDLE_MAYBENULL: case CorInfoHelpFunc.CORINFO_HELP_GETREFANY: + // For Vector256.Create and similar cases + case CorInfoHelpFunc.CORINFO_HELP_THROW_NOT_IMPLEMENTED: throw new RequiresRuntimeJitException(ftnNum.ToString()); default: