summaryrefslogtreecommitdiffstats
path: root/js/src/jit/ExecutableAllocator.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-28 17:58:46 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-28 17:58:46 -0500
commit6a3d5769d01ec1a8dd56ea79aec2df91b801ce02 (patch)
tree79e44798b532d24d205822e36df1912ea6f2e4db /js/src/jit/ExecutableAllocator.h
parent1d86d378281ebd519442ff11b703081444a12169 (diff)
downloadUXP-6a3d5769d01ec1a8dd56ea79aec2df91b801ce02.tar
UXP-6a3d5769d01ec1a8dd56ea79aec2df91b801ce02.tar.gz
UXP-6a3d5769d01ec1a8dd56ea79aec2df91b801ce02.tar.lz
UXP-6a3d5769d01ec1a8dd56ea79aec2df91b801ce02.tar.xz
UXP-6a3d5769d01ec1a8dd56ea79aec2df91b801ce02.zip
Issue #190 - Part 1: Remove XP_IOS conditional code
Diffstat (limited to 'js/src/jit/ExecutableAllocator.h')
-rw-r--r--js/src/jit/ExecutableAllocator.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/js/src/jit/ExecutableAllocator.h b/js/src/jit/ExecutableAllocator.h
index 30eccd12e..20f11f14f 100644
--- a/js/src/jit/ExecutableAllocator.h
+++ b/js/src/jit/ExecutableAllocator.h
@@ -69,7 +69,7 @@ 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)
+#ifdef JS_CODEGEN_ARM
#include <libkern/OSCacheControl.h>
#endif
@@ -256,11 +256,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)
{