summaryrefslogtreecommitdiff
path: root/yjit/src/asm/arm64/inst/pc_rel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'yjit/src/asm/arm64/inst/pc_rel.rs')
-rw-r--r--yjit/src/asm/arm64/inst/pc_rel.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/asm/arm64/inst/pc_rel.rs b/yjit/src/asm/arm64/inst/pc_rel.rs
index fa330cb9d6..bd1a2b9367 100644
--- a/yjit/src/asm/arm64/inst/pc_rel.rs
+++ b/yjit/src/asm/arm64/inst/pc_rel.rs
@@ -53,7 +53,7 @@ impl From<PCRelative> for u32 {
// Toggle the sign bit if necessary.
if inst.imm < 0 {
- immhi |= (1 << 18);
+ immhi |= 1 << 18;
}
0