summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2023-04-14 16:40:58 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2023-04-14 18:01:14 -0400
commit0b95cbcbde8875effdbcbb676cb0a7f751a1d4c1 (patch)
treefacaf744bb9f7cd2a482f9b8e52e97b2dcb7f565 /yjit
parent31e67a476f2262e01a0829e8ab5e6d8a97e0724e (diff)
downloadruby-0b95cbcbde8875effdbcbb676cb0a7f751a1d4c1.tar.gz
YJIT: Remove duplicate `asm.spill_temps()`
`jit_prepare_routine_call()` calls it, and there is another call above on line 2302. Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
Diffstat (limited to 'yjit')
-rw-r--r--yjit/src/codegen.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs
index e5437d707f..e49f5d7a60 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -2295,7 +2295,6 @@ fn gen_setinstancevariable(
// It allocates so can trigger GC, which takes the VM lock
// so could yield to a different ractor.
jit_prepare_routine_call(jit, asm);
- asm.spill_temps(); // for ccall
asm.ccall(rb_ensure_iv_list_size as *const u8,
vec![
recv,