summaryrefslogtreecommitdiff
path: root/include/ruby/debug.h
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2024-01-22 11:55:44 -0500
committerGitHub <noreply@github.com>2024-01-22 11:55:44 -0500
commit703eee7745935c54e7b80b22b9b695e99f53fc5e (patch)
treeab44b1befcae1a3d6842eb8727baf4753a65ff3c /include/ruby/debug.h
parentc7e87b21188386b2e9b9f2c8cf3b6c31ffff46c3 (diff)
YJIT: Drop extra arguments passed by yield (#9596)
Support dropping extra arguments passed by `yield` in blocks. For example `10.times { work }` drops the count argument. This is common enough that it's about 3% of fallback reasons in `lobsters`. Only support simple cases where the surplus arguments are at the top of the stack, that way they just need to be popped, which takes no work.
Diffstat (limited to 'include/ruby/debug.h')
0 files changed, 0 insertions, 0 deletions