Fix Arm64 build

Change-Id: I5ce77756e6f4cbd801c029f07ae3d0e5d8b30590
diff --git a/Source/JavaScriptCore/assembler/ARM64Assembler.h b/Source/JavaScriptCore/assembler/ARM64Assembler.h
index 28b9fd7..163e9d4 100644
--- a/Source/JavaScriptCore/assembler/ARM64Assembler.h
+++ b/Source/JavaScriptCore/assembler/ARM64Assembler.h
@@ -2706,8 +2706,8 @@
 
     unsigned debugOffset() { return m_buffer.debugOffset(); }
 
-#if OS(LINUX) && COMPILER(GCC_OR_CLANG)
-    static inline void linuxPageFlush(uintptr_t begin, uintptr_t end)
+#if (OS(LINUX) || OS(FUCHSIA)) && COMPILER(GCC_OR_CLANG)
+    static inline void builtinPageFlush(uintptr_t begin, uintptr_t end)
     {
         __builtin___clear_cache(reinterpret_cast<char*>(begin), reinterpret_cast<char*>(end));
     }
@@ -2717,23 +2717,23 @@
     {
 #if OS(IOS)
         sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
-#elif OS(LINUX)
+#elif OS(LINUX) || OS(FUCHSIA)
         size_t page = pageSize();
         uintptr_t current = reinterpret_cast<uintptr_t>(code);
         uintptr_t end = current + size;
         uintptr_t firstPageEnd = (current & ~(page - 1)) + page;
 
         if (end <= firstPageEnd) {
-            linuxPageFlush(current, end);
+            builtinPageFlush(current, end);
             return;
         }
 
-        linuxPageFlush(current, firstPageEnd);
+        builtinPageFlush(current, firstPageEnd);
 
         for (current = firstPageEnd; current + page < end; current += page)
-            linuxPageFlush(current, current + page);
+            builtinPageFlush(current, current + page);
 
-        linuxPageFlush(current, end);
+        builtinPageFlush(current, end);
 #else
 #error "The cacheFlush support is missing on this platform."
 #endif