From 7d56069243793aa1d8008d5e69fecfe52172c0a9 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Thu, 5 Nov 2020 18:50:19 +0300 Subject: [PATCH] Fix HAS_OVERCOMMIT usage in JIT.cpp --- Utilities/JIT.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Utilities/JIT.cpp b/Utilities/JIT.cpp index 56e45e2de7..fd3d52581a 100644 --- a/Utilities/JIT.cpp +++ b/Utilities/JIT.cpp @@ -10,7 +10,6 @@ #include #ifdef __linux__ -#include #define CAN_OVERCOMMIT #endif @@ -22,11 +21,8 @@ static u8* get_jit_memory() static void* const s_memory2 = []() -> void* { void* ptr = utils::memory_reserve(0x80000000); - -#ifdef CAN_OVERCOMMIT utils::memory_commit(ptr, 0x80000000); utils::memory_protect(ptr, 0x40000000, utils::protection::wx); -#endif return ptr; }();