diff options
author | Jimmy Miller <jimmy.miller@shopify.com> | 2023-03-01 16:33:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-01 16:33:16 -0500 |
commit | cb8a040b7906c09d9d3ac3d3fe853f633005024f (patch) | |
tree | fee2b55370711f58478082960a5d7793413c8380 /struct.c | |
parent | a80906a7147c6e67e5f6c15c2e414126b019b8d6 (diff) | |
download | ruby-cb8a040b7906c09d9d3ac3d3fe853f633005024f.tar.gz |
YJIT: Properly deal with cfunc splat when no args needed (#7413)
Related to:
https://github.com/ruby/ruby/pull/7377
Previously it was believed that there was a problem with a combination
of cfuncs + splat + send, but it turns out the same issue happened
without send. For example `Integer.sqrt(1, *[])`. The issue was
happened not because of send, but because of setting the wrong argc
when we don't need to splat any args.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions