diff options
author | Mary <me@thog.eu> | 2021-12-05 00:02:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-04 20:02:30 -0300 |
commit | f39fce8f54c1e4dfa1ca56e4a2b1668e9ea30956 (patch) | |
tree | eaf667ed72bc8838d5404712d60b67579502f0d5 /ARMeilleure/CodeGen/X86/CallingConvention.cs | |
parent | 7c9360d39353db38a8b5c5ff9c52924a577f089e (diff) |
misc: Migrate usage of RuntimeInformation to OperatingSystem (#2901)
Very basic migration across the codebase.
Diffstat (limited to 'ARMeilleure/CodeGen/X86/CallingConvention.cs')
-rw-r--r-- | ARMeilleure/CodeGen/X86/CallingConvention.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ARMeilleure/CodeGen/X86/CallingConvention.cs b/ARMeilleure/CodeGen/X86/CallingConvention.cs index 2769fd93..74799623 100644 --- a/ARMeilleure/CodeGen/X86/CallingConvention.cs +++ b/ARMeilleure/CodeGen/X86/CallingConvention.cs @@ -151,7 +151,7 @@ namespace ARMeilleure.CodeGen.X86 public static CallConvName GetCurrentCallConv() { - return RuntimeInformation.IsOSPlatform(OSPlatform.Windows) + return OperatingSystem.IsWindows() ? CallConvName.Windows : CallConvName.SystemV; } |