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.
This commit is contained in:
Unknown W. Brackets 2013-02-24 00:15:56 -08:00
parent 3fbb5d4388
commit 7abcd37909

View file

@ -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;
}