summaryrefslogtreecommitdiff
path: root/yjit.c
diff options
context:
space:
mode:
Diffstat (limited to 'yjit.c')
-rw-r--r--yjit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/yjit.c b/yjit.c
index afa329e024..d3ec27ab1e 100644
--- a/yjit.c
+++ b/yjit.c
@@ -89,6 +89,8 @@ rb_yjit_icache_invalidate(void *start, void *end)
// On Darwin it's the same as calling sys_icache_invalidate().
#ifdef __GNUC__
__builtin___clear_cache(start, end);
+#elif defined(__aarch64__)
+#error No instruction cache clear available with this compiler on Aarch64!
#endif
}