From 4eaccd61b1a2a4b078140f8b36f2b45ab5980e8e Mon Sep 17 00:00:00 2001 From: Manish Godse <61718172+mangod9@users.noreply.github.com> Date: Wed, 20 May 2020 18:10:01 -0700 Subject: [PATCH] Adding a case requiring RuntimeJit (#36772) Handle CORINFO_HELP_THROW_NOT_IMPLEMENTED --- .../ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.7.4