summaryrefslogtreecommitdiff
path: root/js/src/jit/ExecutableAllocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit/ExecutableAllocator.h')
-rw-r--r--js/src/jit/ExecutableAllocator.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/js/src/jit/ExecutableAllocator.h b/js/src/jit/ExecutableAllocator.h
index 39efd87893..8042ae7a98 100644
--- a/js/src/jit/ExecutableAllocator.h
+++ b/js/src/jit/ExecutableAllocator.h
@@ -68,10 +68,6 @@ extern "C" void sync_instruction_memory(caddr_t v, u_int len);
#include <sys/cachectl.h>
#endif
-#if defined(JS_CODEGEN_ARM) && defined(XP_IOS)
-#include <libkern/OSCacheControl.h>
-#endif
-
namespace JS {
struct CodeSizes;
} // namespace JS
@@ -255,11 +251,6 @@ class ExecutableAllocator
{
__clear_cache(code, reinterpret_cast<char*>(code) + size);
}
-#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);
- }
#elif defined(JS_CODEGEN_ARM) && (defined(__linux__) || defined(ANDROID)) && defined(__GNUC__)
static void cacheFlush(void* code, size_t size)
{