diff options
author | Takashi Kokubun <[email protected]> | 2023-11-23 07:50:42 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-11-23 10:50:42 -0500 |
commit | 95369ac0a3b326e1cee18e843d409bdf023abc00 (patch) | |
tree | a33b10f93e3ddc6ed3cf1bce20b113defebb7e08 /yjit/src/backend/x86_64/mod.rs | |
parent | 285a41d79356a49051d5c7370cf2714a76e6397d (diff) |
YJIT: Fix jmp_ptr_bytes on x86_64 (#9016)
Diffstat (limited to 'yjit/src/backend/x86_64/mod.rs')
-rw-r--r-- | yjit/src/backend/x86_64/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/backend/x86_64/mod.rs b/yjit/src/backend/x86_64/mod.rs index 8d0f70e133..55bec66565 100644 --- a/yjit/src/backend/x86_64/mod.rs +++ b/yjit/src/backend/x86_64/mod.rs @@ -32,7 +32,7 @@ pub const _C_RET_OPND: Opnd = Opnd::Reg(RAX_REG); impl CodeBlock { // The number of bytes that are generated by jmp_ptr - pub fn jmp_ptr_bytes(&self) -> usize { 6 } + pub fn jmp_ptr_bytes(&self) -> usize { 5 } } /// Map Opnd to X86Opnd |