diff options
author | sbruno <sbruno@FreeBSD.org> | 2015-01-21 00:15:30 +0800 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2015-01-21 00:15:30 +0800 |
commit | 83d44dee1d24dae6e2bbc5e04d852e4ff323e557 (patch) | |
tree | 593f594bb56552ce767c0e037e4c9fe2986d84a2 /www | |
parent | 5e90eeed5efb3b550ec2ed8aa7f6fed29368c11e (diff) | |
download | freebsd-ports-gnome-83d44dee1d24dae6e2bbc5e04d852e4ff323e557.tar.gz freebsd-ports-gnome-83d44dee1d24dae6e2bbc5e04d852e4ff323e557.tar.zst freebsd-ports-gnome-83d44dee1d24dae6e2bbc5e04d852e4ff323e557.zip |
With the update to 1.4.8, the JIT infrastructure was revamped to look a lot like
the source for webkit-gtk3. Update the ARM assembler patch for the new file location
and delete the old one.
PR: 196908
Reviewed by: kwm
Approved by: mentor (implicit)
Diffstat (limited to 'www')
-rw-r--r-- | www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_ARMAssembler.h | 11 | ||||
-rw-r--r-- | www/webkit-gtk2/files/patch-Source__JavaScriptCore__jit__ExecutableAllocator.h | 26 |
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) {} |