Bug 1313607 - cacheFlush for ARM64 simulator. r=jandem
authorLars T Hansen <lhansen@mozilla.com>
Fri, 28 Oct 2016 10:53:05 +0200
changeset 319978 bdeb744966f16aa9274266bd719109552d9d138a
parent 319977 e64ad680a6c6fe7e64f8fce2fc7ee07555de6957
child 319979 f3b662e19b24da1c42c99a3cd5d08982c3cacc8f
push id20749
push userryanvm@gmail.com
push dateSat, 29 Oct 2016 13:21:21 +0000
treeherderfx-team@1b170b39ed6b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1313607
milestone52.0a1
Bug 1313607 - cacheFlush for ARM64 simulator. r=jandem
js/src/jit/ExecutableAllocator.h
--- a/js/src/jit/ExecutableAllocator.h
+++ b/js/src/jit/ExecutableAllocator.h
@@ -230,17 +230,17 @@ class ExecutableAllocator
     void makeAllExecutable() {
         reprotectAll(Executable);
     }
 
     static unsigned initialProtectionFlags(ProtectionSetting protection);
 
     static void poisonCode(JSRuntime* rt, JitPoisonRangeVector& ranges);
 
-#if defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64)
+#if defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64) || defined(JS_SIMULATOR_ARM64)
     static void cacheFlush(void*, size_t)
     {
     }
 #elif defined(JS_SIMULATOR_ARM) || defined(JS_SIMULATOR_MIPS32) || defined(JS_SIMULATOR_MIPS64)
     static void cacheFlush(void* code, size_t size)
     {
         js::jit::Simulator::FlushICache(code, size);
     }