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

Collapse All | Expand All

(-)lang/spidermonkey170/files/patch-assembler_jit_ExecutableAllocator.h (+14 lines)
Line 0 Link Here
1
--- assembler/jit/ExecutableAllocator.h.orig	2013-10-29 20:40:26 UTC
2
+++ assembler/jit/ExecutableAllocator.h
3
@@ -477,6 +477,11 @@ public:
4
     {
5
         sync_instruction_memory((caddr_t)code, size);
6
     }
7
+#elif CPU(ARM_TRADITIONAL) && OS(FREEBSD) && COMPILER(CLANG)
8
+    static void cacheFlush(void* code, size_t size)
9
+    {
10
+	__clear_cache(code, reinterpret_cast<char*>(code) + size);
11
+    }
12
 #endif
13
 
14
 private:

Return to bug 202229