summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
Diffstat (limited to 'yjit')
-rw-r--r--yjit/src/asm/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit/src/asm/mod.rs b/yjit/src/asm/mod.rs
index 68c09eb114..d2d6a53889 100644
--- a/yjit/src/asm/mod.rs
+++ b/yjit/src/asm/mod.rs
@@ -240,6 +240,7 @@ impl CodeBlock {
}
/// Size of the region in bytes where writes could be attempted.
+ #[cfg(target = "aarch64")]
pub fn virtual_region_size(&self) -> usize {
self.mem_block.borrow().virtual_region_size()
}