diff options
Diffstat (limited to 'src/System.Private.Jit/src/Internal/Runtime/CompilerHelpers/LibraryInitializer.cs')
-rw-r--r-- | src/System.Private.Jit/src/Internal/Runtime/CompilerHelpers/LibraryInitializer.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/System.Private.Jit/src/Internal/Runtime/CompilerHelpers/LibraryInitializer.cs b/src/System.Private.Jit/src/Internal/Runtime/CompilerHelpers/LibraryInitializer.cs new file mode 100644 index 000000000..ff2abd9e8 --- /dev/null +++ b/src/System.Private.Jit/src/Internal/Runtime/CompilerHelpers/LibraryInitializer.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Internal.Runtime.JitSupport; +using Internal.Runtime.TypeLoader; + +namespace Internal.Runtime.CompilerHelpers +{ + public class LibraryInitializer + { + public static void InitializeLibrary() + { + MethodExecutionStrategy.GlobalExecutionStrategy = new RyuJitExecutionStrategy(); + } + } +} |