summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-02-21 13:10:10 -0800
committerGitHub <noreply@github.com>2023-02-21 16:10:10 -0500
commit0353277b20efffa748af3ae5926528381ba7ba7c (patch)
tree8f0477e317a9a13c0ac1ebd287ec90df37051bbf
parent50e77b6a9c0ebbb1c5f2a9b075b7afb2fbe19fb4 (diff)
YJIT: Avoid checking symbol ID twice on send (#7350)
Notes
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
-rw-r--r--yjit/src/codegen.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs
index c8fc38fe25..711d12a2cc 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -6374,9 +6374,6 @@ fn gen_send_general(
asm.comment("chain_guard_send");
let chain_exit = counted_exit!(ocb, side_exit, send_send_chain);
- asm.cmp(symbol_id_opnd, 0.into());
- asm.jbe(chain_exit);
-
asm.cmp(symbol_id_opnd, mid.into());
jit_chain_guard(
JCC_JNE,