$OpenBSD: patch-Source_JavaScriptCore_jit_ExecutableAllocator_h,v 1.2 2020/02/19 16:08:53 rsadowski Exp $

Index: Source/JavaScriptCore/jit/ExecutableAllocator.h
--- Source/JavaScriptCore/jit/ExecutableAllocator.h.orig
+++ Source/JavaScriptCore/jit/ExecutableAllocator.h
@@ -80,7 +80,8 @@ static const size_t fixedExecutableMemoryPoolSize = FI
 static const size_t fixedExecutableMemoryPoolSize = 16 * 1024 * 1024;
 #elif CPU(ARM64)
 static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024;
-#elif CPU(X86_64)
+#elif CPU(X86_64) && !CPU(X32) && !OS(OPENBSD)
+// default limits on OpenBSD are far less than 1GB
 static const size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024;
 #else
 static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024;
