aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2023-11-30 15:30:30 -0800
committerJeremy Evans <code@jeremyevans.net>2023-12-07 11:27:55 -0800
commit7738b31d390e70b26e913d86c133a70c8e65a645 (patch)
tree0fa09623307fc30a98dcb4997f642b0a686e5c76 /util.c
parentf5a01b091673b81cf2e1efa149f84763bdadad98 (diff)
downloadruby-7738b31d390e70b26e913d86c133a70c8e65a645.tar.gz
Eliminate array allocation for f(1, *a, &arg), f(*a, **kw, &arg), and f(*a, kw: 1, &arg)
These are similar to the f(1, *a, &lvar), f(*a, **kw, &lvar) and f(*a, kw: 1, &lvar) optimizations, but they use getblockparamproxy instruction instead of getlocal. This also fixes the else style to be more similar to the surrounding code.
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions