diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-22 12:57:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-22 15:57:17 -0500 |
commit | 63f4a7a1ec3433cc985503e3ca342e4a9ebda257 (patch) | |
tree | 6a635fb2dde6548d8d93de9ae60ab0cb5b66244b /yjit/src/invariants.rs | |
parent | 9c5e3671ebd9c07c178ca5dac08ad15ad1eae411 (diff) | |
download | ruby-63f4a7a1ec3433cc985503e3ca342e4a9ebda257.tar.gz |
YJIT: Skip padding jumps to side exits on Arm (#6790)
YJIT: Skip padding jumps to side exits
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
Diffstat (limited to 'yjit/src/invariants.rs')
-rw-r--r-- | yjit/src/invariants.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/invariants.rs b/yjit/src/invariants.rs index b911ff2c92..1542b40db8 100644 --- a/yjit/src/invariants.rs +++ b/yjit/src/invariants.rs @@ -503,7 +503,7 @@ pub extern "C" fn rb_yjit_tracing_invalidate_all() { assert!(last_patch_end <= patch.inline_patch_pos.raw_ptr(), "patches should not overlap"); let mut asm = crate::backend::ir::Assembler::new(); - asm.jmp(patch.outlined_target_pos.into()); + asm.jmp(patch.outlined_target_pos.as_side_exit()); cb.set_write_ptr(patch.inline_patch_pos); cb.set_dropped_bytes(false); |