diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2024-02-15 20:29:06 -0500 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2024-02-16 15:27:49 -0500 |
| commit | c4e30d28659fbe0dbe813b21ba8bdbd96c812a66 (patch) | |
| tree | 3368037ebcf6384aa790e0e8f47c8cd1930416da /include/ruby/random.h | |
| parent | 777c4da0bf41de76a22c4cc67fc93e1404b2930c (diff) | |
YJIT: Support `**nil`
This adds YJIT support for VM_CALL_KW_SPLAT with nil, specifically for
when we already know from the context that it's done with a nil. This is
enough to support forwarding with `...` when there no keyword arguments
are present.
Amend the kw_rest support to propagate the type of the parameter to help
with this. Test interactions with splat, since the splat array sits
lower on the stack when a kw_splat argument is present.
Diffstat (limited to 'include/ruby/random.h')
0 files changed, 0 insertions, 0 deletions
