From 7abcd37909e9147d55cc8d0cf9a4cd20ae726398 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 24 Feb 2013 00:15:56 -0800 Subject: [PATCH] This isn't needed if ABI_CallFunction* is used. AFAICT the only reason for it is to avoid far calls, so we just can't use CALL() directly. It's works even when it throws on Mac. --- Common/MemoryUtil.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Common/MemoryUtil.cpp b/Common/MemoryUtil.cpp index 59dadba5fd..a7119b307c 100644 --- a/Common/MemoryUtil.cpp +++ b/Common/MemoryUtil.cpp @@ -119,11 +119,6 @@ void* AllocateExecutableMemory(size_t size, bool low) } #endif -#if defined(_M_X64) - if ((u64)ptr >= 0x80000000 && low == true) - PanicAlert("Executable memory ended up above 2GB!"); -#endif - return ptr; }