diff options
| author | John Hawthorn <john@hawthorn.email> | 2021-12-16 10:19:24 -0800 |
|---|---|---|
| committer | John Hawthorn <john@hawthorn.email> | 2021-12-17 15:26:04 -0800 |
| commit | 83aa68447c87169b3610b6e04abebdcc592f0c16 (patch) | |
| tree | fec0232c411aaaebde03b319ec0f6c79b08c23aa /include/ruby/internal/variable.h | |
| parent | 5588aa79d4587956ac1ae1734407f21717ad379a (diff) | |
YJIT: Allow iseq with both opt and kwargs
Previously we mirrored the fast paths the interpreter had for having
only one of kwargs or optional args. This commit aims to combine the
cases and reduce complexity.
Though this allows calling iseqs which have have both optional and
keyword arguments, it requires that all optional arguments are specified
when there are keyword arguments, since unspecified optional arguments
appear before the kwargs. Support for this can be added a in a future
PR.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5285
Diffstat (limited to 'include/ruby/internal/variable.h')
0 files changed, 0 insertions, 0 deletions
