summaryrefslogtreecommitdiffstats
path: root/mail/thunderbird/files/patch-bug1359051
blob: b3dcbb41554047a3fe136f749ec1f24b5931d1a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
commit fe7592e16fcc
Author: Sean Stangl <sstangl@mozilla.com>
Date:   Mon Apr 24 07:10:58 2017 -0700

    Bug 1359051 - Define cacheFlush for non-Simulator ARM64 builds. r=tcampbell
---
 js/src/jit/ExecutableAllocator.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git js/src/jit/ExecutableAllocator.h js/src/jit/ExecutableAllocator.h
index 3a42918142ef..570a25ff0dc3 100644
--- mozilla/js/src/jit/ExecutableAllocator.h
+++ mozilla/js/src/jit/ExecutableAllocator.h
@@ -259,7 +259,7 @@ class ExecutableAllocator
     {
         __clear_cache(code, reinterpret_cast<char*>(code) + size);
     }
-#elif defined(JS_CODEGEN_ARM) && defined(XP_IOS)
+#elif (defined(JS_CODEGEN_ARM) || defined(JS_CODEGEN_ARM64)) && defined(XP_IOS)
     static void cacheFlush(void* code, size_t size)
     {
         sys_icache_invalidate(code, size);
@@ -297,7 +297,7 @@ class ExecutableAllocator
                 : "r0", "r1", "r2");
         }
     }
-#elif defined(JS_CODEGEN_ARM64) && (defined(__linux__) || defined(ANDROID)) && defined(__GNUC__)
+#elif defined(JS_CODEGEN_ARM64)
     static void cacheFlush(void* code, size_t size)
     {
 	__clear_cache(code, (void *)((size_t)code + size));
OpenPOWER on IntegriCloud