diff options
| author | Jeremy Evans <code@jeremyevans.net> | 2024-01-25 10:00:09 -0800 |
|---|---|---|
| committer | Jeremy Evans <code@jeremyevans.net> | 2024-03-01 07:10:25 -0800 |
| commit | e484ffaf2016ae3261ce5810658f4634b434720e (patch) | |
| tree | 37c830eb7ca6a2df86cdb78d9c3710252099eb36 /test | |
| parent | 54d26221b4c4cfc46048f30892c626db69ce9244 (diff) | |
Perform splatarray false peephole optimization for invokesuper in addition to send
This optimizes cases such as:
super(arg, *ary)
super(arg, *ary, &block)
super(*ary, **kw)
super(*ary, kw: 1)
super(*ary, kw: 1, &block)
The super(*ary, **kw, &block) case does not use the splatarray false
optimization. This is also true of the send case, since the
introduction of the splatkw VM instruction. That will be fixed in
a later commit.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
