View | Details | Raw Unified | Return to bug 202229 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-assembler_jit_ExecutableAllocator.h (+14 lines)
Line 0 Link Here
1
--- assembler/jit/ExecutableAllocator.h.orig	2015-08-16 11:10:53 UTC
2
+++ assembler/jit/ExecutableAllocator.h
3
@@ -445,6 +445,11 @@ public:
4
     {
5
         User::IMB_Range(code, static_cast<char*>(code) + size);
6
     }
7
+#elif WTF_CPU_ARM_TRADITIONAL && (WTF_OS_FREEBSD || WTF_OS_NETBSD)
8
+    static void cacheFlush(void* code, size_t size)
9
+    {
10
+        __clear_cache(code, reinterpret_cast<char*>(code) + size);
11
+    }
12
 #elif WTF_CPU_ARM_TRADITIONAL && WTF_OS_LINUX && WTF_COMPILER_RVCT
13
     static __asm void cacheFlush(void* code, size_t size);
14
 #elif WTF_CPU_ARM_TRADITIONAL && (WTF_OS_LINUX || WTF_OS_ANDROID) && WTF_COMPILER_GCC

Return to bug 202229