diff options
author | Noah Gibbs <noah.gibbs@shopify.com> | 2022-09-15 15:14:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-15 10:14:27 -0400 |
commit | cc7f6fe73454743da87d73ddb26626503fae248f (patch) | |
tree | 9410987ac269d0105cd39fd73ead1caa8affaa77 | |
parent | 64a020324dc7453c5678f44b898eb5da47b9abcc (diff) | |
download | ruby-cc7f6fe73454743da87d73ddb26626503fae248f.tar.gz |
YJIT should die if we compile on Aarch64 with no instruction cache clear available (#6380)
YJIT should die if we compile on ARM64 with no icache clear available
-rw-r--r-- | yjit.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 } |