diff options
Diffstat (limited to 'www/firefox31/patches/patch-js_src_assembler_jit_ExecutableAllocator.h')
-rw-r--r-- | www/firefox31/patches/patch-js_src_assembler_jit_ExecutableAllocator.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/www/firefox31/patches/patch-js_src_assembler_jit_ExecutableAllocator.h b/www/firefox31/patches/patch-js_src_assembler_jit_ExecutableAllocator.h new file mode 100644 index 00000000000..23f4b7b2bd2 --- /dev/null +++ b/www/firefox31/patches/patch-js_src_assembler_jit_ExecutableAllocator.h @@ -0,0 +1,17 @@ +$NetBSD: patch-js_src_assembler_jit_ExecutableAllocator.h,v 1.1 2015/04/28 12:06:34 joerg Exp $ + +--- js/src/assembler/jit/ExecutableAllocator.h.orig 2015-04-10 13:30:05.000000000 +0000 ++++ js/src/assembler/jit/ExecutableAllocator.h +@@ -471,6 +471,12 @@ public: + : "r" (code), "r" (reinterpret_cast<char*>(code) + size) + : "r0", "r1", "r2"); + } ++#elif WTF_CPU_ARM && defined(__NetBSD__) ++ static void cacheFlush(void* code, size_t size) ++ { ++ intptr_t end = reinterpret_cast<intptr_t>(code) + size; ++ __builtin___clear_cache(reinterpret_cast<char*>(code), reinterpret_cast<char*>(end)); ++ } + #elif WTF_OS_SYMBIAN + static void cacheFlush(void* code, size_t size) + { |