FreeBSD Bugzilla – Attachment 151866 Details for
Bug 196908
[arm] www/webkit-gtk2 import updated JIT and needs update to _clear_cache() calls.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to create new ARMAssembler.h
webkit-gtk2.diff (text/plain), 2.67 KB, created by
Sean Bruno
on 2015-01-19 22:55:24 UTC
(
hide
)
Description:
patch to create new ARMAssembler.h
Filename:
MIME Type:
Creator:
Sean Bruno
Created:
2015-01-19 22:55:24 UTC
Size:
2.67 KB
patch
obsolete
>Index: www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_ARMAssembler.h >=================================================================== >--- www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_ARMAssembler.h (revision 0) >+++ www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_ARMAssembler.h (working copy) >@@ -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 > >Property changes on: www/webkit-gtk2/files/patch-Source_JavaScriptCore_assembler_ARMAssembler.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/webkit-gtk2/files/patch-Source__JavaScriptCore__jit__ExecutableAllocator.h >=================================================================== >--- www/webkit-gtk2/files/patch-Source__JavaScriptCore__jit__ExecutableAllocator.h (revision 377487) >+++ www/webkit-gtk2/files/patch-Source__JavaScriptCore__jit__ExecutableAllocator.h (working copy) >@@ -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) {}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
kwm
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 196908
: 151866