From c31f2bb92b7ac75d73b2febd07e6afcebbcc88e2 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Fri, 18 Oct 2019 16:32:01 +0200 Subject: [PATCH] Update jit_compiler_a64.cpp --- src/crypto/randomx/jit_compiler_a64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/randomx/jit_compiler_a64.cpp b/src/crypto/randomx/jit_compiler_a64.cpp index f62550d0..79e099a0 100644 --- a/src/crypto/randomx/jit_compiler_a64.cpp +++ b/src/crypto/randomx/jit_compiler_a64.cpp @@ -109,7 +109,7 @@ void sys_icache_invalidate(void *start, size_t len); static void clear_code_cache(void* p, size_t size) { -# ifdef HAVE_BUILTIN_CLEAR_CACHE_ +# ifdef HAVE_BUILTIN_CLEAR_CACHE __builtin___clear_cache(p, size); # elif defined(ios_HOST_OS) || defined (darwin_HOST_OS) sys_icache_invalidate(p, size);