aboutsummaryrefslogtreecommitdiff
path: root/www/webkit-gtk2
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2015-01-20 16:15:30 +0000
committerSean Bruno <sbruno@FreeBSD.org>2015-01-20 16:15:30 +0000
commit7efc3b05a531c86685adc82f79d2284dd71e96e5 (patch)
tree593f594bb56552ce767c0e037e4c9fe2986d84a2 /www/webkit-gtk2
parentbf5c67cacb49506cede53a53400d915e96e27dfe (diff)
downloadports-7efc3b05a531c86685adc82f79d2284dd71e96e5.tar.gz
ports-7efc3b05a531c86685adc82f79d2284dd71e96e5.zip
Notes
Diffstat (limited to 'www/webkit-gtk2')
-rw-r--r--www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_ARMAssembler.h11
-rw-r--r--www/webkit-gtk2/files/patch-Source__JavaScriptCore__jit__ExecutableAllocator.h26
2 files changed, 11 insertions, 26 deletions
diff --git a/www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_ARMAssembler.h b/www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_ARMAssembler.h
new file mode 100644
index 000000000000..94579033ef52
--- /dev/null
+++ b/www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_ARMAssembler.h
@@ -0,0 +1,11 @@
+--- Source/JavaScriptCore/assembler/ARMAssembler.h.orig 2015-01-19 21:25:28.000000000 +0000
++++ Source/JavaScriptCore/assembler/ARMAssembler.h 2015-01-19 21:25:57.000000000 +0000
+@@ -1121,6 +1121,8 @@ namespace JSC {
+ linuxPageFlush(current, end);
+ #elif OS(WINCE)
+ CacheRangeFlush(code, size, CACHE_SYNC_ALL);
++#elif CPU(ARM_TRADITIONAL) && OS(FREEBSD) && COMPILER(CLANG)
++ __clear_cache(code, reinterpret_cast<char*>(code) + size);
+ #else
+ #error "The cacheFlush support is missing on this platform."
+ #endif
diff --git a/www/webkit-gtk2/files/patch-Source__JavaScriptCore__jit__ExecutableAllocator.h b/www/webkit-gtk2/files/patch-Source__JavaScriptCore__jit__ExecutableAllocator.h
deleted file mode 100644
index f943398981cf..000000000000
--- a/www/webkit-gtk2/files/patch-Source__JavaScriptCore__jit__ExecutableAllocator.h
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
---- Source/JavaScriptCore/jit/ExecutableAllocator.h.orig 2014-12-25 12:52:32.786521149 +0100
-+++ Source/JavaScriptCore/jit/ExecutableAllocator.h 2014-12-25 12:52:41.921520911 +0100
-@@ -104,7 +104,8 @@
- #if ENABLE(EXECUTABLE_ALLOCATOR_FIXED)
- #if CPU(ARM) || CPU(ARM64)
- static const size_t fixedExecutableMemoryPoolSize = 16 * 1024 * 1024;
--#elif CPU(X86_64)
-+// We don't want an initial allocation of 1GB, it's above the default ulimit
-+#elif CPU(X86_64) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
- static const size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024;
- #else
- static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024;
-@@ -146,6 +147,11 @@
- {
- reprotectRegion(start, size, Executable);
- }
-+#elif CPU(ARM_TRADITIONAL) && OS(FREEBSD) && COMPILER(CLANG)
-+ static void cacheFlush(void* code, size_t size)
-+ {
-+ __clear_cache(code, reinterpret_cast<char*>(code) + size);
-+ }
- #else
- static void makeWritable(void*, size_t) {}
- static void makeExecutable(void*, size_t) {}