From 719ca3ceb5f2415e42c8e2a428d18928468fc464 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Tue, 26 Jan 2021 09:47:04 -0800 Subject: [PATCH] Fix build breaks --- .../System.Private.CoreLib/src/System/Math.CoreRT.cs | 6 ------ .../System.Private.CoreLib/src/System/MathF.CoreRT.cs | 6 ------ .../src/System/Runtime/RuntimeImports.cs | 10 ---------- 3 files changed, 22 deletions(-) diff --git a/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Math.CoreRT.cs b/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Math.CoreRT.cs index f5813916074f..87d12fd73e62 100644 --- a/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Math.CoreRT.cs +++ b/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Math.CoreRT.cs @@ -142,12 +142,6 @@ public static double Pow(double x, double y) return RuntimeImports.pow(x, y); } - [Intrinsic] - public static double ScaleB(double x, int n) - { - return RuntimeImports.scalbn(x, n); - } - [Intrinsic] public static double Sin(double a) { diff --git a/src/coreclr/nativeaot/System.Private.CoreLib/src/System/MathF.CoreRT.cs b/src/coreclr/nativeaot/System.Private.CoreLib/src/System/MathF.CoreRT.cs index 7e99a1e2bf5c..009afcb632c1 100644 --- a/src/coreclr/nativeaot/System.Private.CoreLib/src/System/MathF.CoreRT.cs +++ b/src/coreclr/nativeaot/System.Private.CoreLib/src/System/MathF.CoreRT.cs @@ -130,12 +130,6 @@ public static float Pow(float x, float y) return RuntimeImports.powf(x, y); } - [Intrinsic] - public static float ScaleB(float x, int n) - { - return RuntimeImports.scalbnf(x, n); - } - [Intrinsic] public static float Sin(float x) { diff --git a/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/RuntimeImports.cs b/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/RuntimeImports.cs index 41632349364e..d4303a7154f6 100644 --- a/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/RuntimeImports.cs +++ b/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/RuntimeImports.cs @@ -923,16 +923,6 @@ internal static float fabsf(float x) [RuntimeImport(RuntimeLibrary, "powf")] internal static extern float powf(float x, float y); - [Intrinsic] - [MethodImplAttribute(MethodImplOptions.InternalCall)] - [RuntimeImport(RuntimeLibrary, "scalbn")] - internal static extern double scalbn(double x, int n); - - [Intrinsic] - [MethodImplAttribute(MethodImplOptions.InternalCall)] - [RuntimeImport(RuntimeLibrary, "scalbnf")] - internal static extern float scalbnf(float x, int n); - [Intrinsic] [MethodImplAttribute(MethodImplOptions.InternalCall)] [RuntimeImport(RuntimeLibrary, "sin")]