Skip to content

[pull] master from ruby:master#778

Merged
pull[bot] merged 2 commits intoturkdevops:masterfrom
ruby:master
Feb 14, 2026
Merged

[pull] master from ruby:master#778
pull[bot] merged 2 commits intoturkdevops:masterfrom
ruby:master

Conversation

@pull
Copy link

@pull pull bot commented Feb 14, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

chancancode and others added 2 commits February 13, 2026 16:30
After GH-15911, we largely apply the same treatment to these two
variants everywhere. In `type_specialize`, there are two ~100 LOC
match arms that shared 90% of the code. Unifying these allowed the
code to be shared more easily.

---

**Note:**

In the interest of preserving existing semantics and keeping the
diff small for this initial PR, `YARVINSN_send` can currently
produce:

```rs
Insn::Send { blockiseq: Some(null_ptr), .. }
```

Either way, that can be done in a follow-up PR.

---

Follow-up tasks:

1. Unify `reduce_send_to_ccall`/`reduce_send_without_block_to_ccall`

2. Address the `Some(null_ptr)` situation above (discussed on PR)

3. Rename/merge the stats/counters/fallback reasons, if desired

Partially addresses Shopify#941 (TODO: `optimize_c_calls`)

[alan: rewrote commit message]
Reviewed-by: Alan Wu <XrXr@users.noreply.github.com>
@pull pull bot locked and limited conversation to collaborators Feb 14, 2026
@pull pull bot added the ⤵️ pull label Feb 14, 2026
@pull pull bot merged commit b5105f1 into turkdevops:master Feb 14, 2026
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants