summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-09 09:15:05 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-09 09:15:21 -0800
commit3938b79ef9bbc6f77eb6f5f7af2ff67a30cd1f1e (patch)
tree2df652c0367a3e07eede6ea2b81729fd64c17ee0
parent262254dc7dd9b503ca01ab701eb5cdd96bce4c4d (diff)
Revert an unneeded diff in 262254dc7d
-rw-r--r--yjit/src/codegen.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs
index 0c3ca8c372..b319d81e2e 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -7802,11 +7802,11 @@ impl CodegenGlobals {
// Memory protection syscalls need page-aligned addresses, so check it here. Assuming
// `virt_block` is page-aligned, `second_half` should be page-aligned as long as the
- // page size in bytes is a power of two 2ツケ竅ケ or smaller. This is because the user
- // requested size is half of mem_option テ?2ツイ竅ー as it's in MiB.
+ // page size in bytes is a power of two 2¹⁹ or smaller. This is because the user
+ // requested size is half of mem_option × 2²⁰ as it's in MiB.
//
// Basically, we don't support x86-64 2MiB and 1GiB pages. ARMv8 can do up to 64KiB
- // (2ツケ竅カ bytes) pages, which should be fine. 4KiB pages seem to be the most popular though.
+ // (2¹⁶ bytes) pages, which should be fine. 4KiB pages seem to be the most popular though.
let page_size = unsafe { rb_yjit_get_page_size() };
assert_eq!(
virt_block as usize % page_size.as_usize(), 0,