diff options
author | Alan Wu <[email protected]> | 2024-12-13 10:41:04 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-13 10:41:04 -0500 |
commit | f3a117605c86b44ef48f313dc921c7fb86ff3481 (patch) | |
tree | 7771f17e0abbb4301910f6e1d62097fbbfcbb5b1 /lib/rdoc/version.rb | |
parent | 92dd9734a967c20e628c8f77c5ce700058dcd58c (diff) |
YJIT: Speculate block arg for `c_func_method(&nil)` calls (#12326)
A good amount of call sites always pass nil as block argument, but the
nil doesn't show up in the context. Put a runtime guard for those
cases to handle it. Particular relevant for the `ruby-lsp` benchmark in
`yjit-bench`. Up to a 2% speedup across headline benchmarks.
Co-authored-by: Takashi Kokubun <[email protected]>
Co-authored-by: Maxime Chevalier-Boisvert <[email protected]>
Co-authored-by: Aaron Patterson <[email protected]>
Co-authored-by: Kevin Menard <[email protected]>
Co-authored-by: Randy Stauner <[email protected]>
Notes
Notes:
Merged-By: maximecb <[email protected]>
Diffstat (limited to 'lib/rdoc/version.rb')
0 files changed, 0 insertions, 0 deletions