aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Translation/Cache/JitCache.cs
diff options
context:
space:
mode:
authorMary <me@thog.eu>2021-12-05 00:02:30 +0100
committerGitHub <noreply@github.com>2021-12-04 20:02:30 -0300
commitf39fce8f54c1e4dfa1ca56e4a2b1668e9ea30956 (patch)
treeeaf667ed72bc8838d5404712d60b67579502f0d5 /ARMeilleure/Translation/Cache/JitCache.cs
parent7c9360d39353db38a8b5c5ff9c52924a577f089e (diff)
misc: Migrate usage of RuntimeInformation to OperatingSystem (#2901)
Very basic migration across the codebase.
Diffstat (limited to 'ARMeilleure/Translation/Cache/JitCache.cs')
-rw-r--r--ARMeilleure/Translation/Cache/JitCache.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ARMeilleure/Translation/Cache/JitCache.cs b/ARMeilleure/Translation/Cache/JitCache.cs
index c0d0a25d..24affa34 100644
--- a/ARMeilleure/Translation/Cache/JitCache.cs
+++ b/ARMeilleure/Translation/Cache/JitCache.cs
@@ -39,7 +39,7 @@ namespace ARMeilleure.Translation.Cache
_cacheAllocator = new CacheMemoryAllocator(CacheSize);
- if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
+ if (OperatingSystem.IsWindows())
{
JitUnwindWindows.InstallFunctionTableHandler(_jitRegion.Pointer, CacheSize, _jitRegion.Pointer + Allocate(PageSize));
}