diff options
| author | Aiden Fox Ivey <aiden@aidenfoxivey.com> | 2025-10-28 11:44:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-28 11:44:25 -0400 |
| commit | 7a736545e948ec481ba2b2c46d78470194b624ba (patch) | |
| tree | 566c6f3183f8cb715a24548be2a2927e641787d5 /include/ruby/assert.h | |
| parent | 2e2f31c836c21b87e846d75372b06893f4226521 (diff) | |
ZJIT: Specialize Array#pop for no argument case (#14933)
Fixes https://github.com/Shopify/ruby/issues/814
This change specializes the case of calling `Array#pop` on a non frozen array with no arguments. `Array#pop` exists in the non-inlined C function list in the ZJIT SFR performance burndown list.
If in the future it is helpful, this patch could be extended to support the case where an argument is provided, but this initial work seeks to elide the ruby frame normally pushed in the case of `Array#pop` without an argument.
Diffstat (limited to 'include/ruby/assert.h')
0 files changed, 0 insertions, 0 deletions
