DescriptionPPC/s390: [builtins] Start refactoring the Apply builtin.
Port af76779aa3064a8d5ce8f7b88836110f3de4cfa0
Original Commit Message:
This splits the monolithic Apply builtin into several smaller builtins,
namely CallVargargs and ConstructVarargs, which accept a length and a
FixedArray of elements and deal with the actual stack manipulation, and
CallWithArrayLike / ConstructWithArrayLike that deal with getting the
elements from the receiver (for Function.prototype.apply, Reflect.apply
and Reflect.construct), which can now be written using the CSA.
The idea is that these builtins can be reused by TurboFan directly in
the future when we optimize apply better, and that we can also reuse the
core logic in the handling of spread calls/constructs.
R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
BUG=v8:4587, v8:5269
LOG=N
Review-Url: https://codereview.chromium.org/2932833002
Cr-Commit-Position: refs/heads/master@{#45826}
Committed: https://chromium.googlesource.com/v8/v8/+/9385fd40e06975194fe80e3d645dcf1b9f88f50f
Patch Set 1 #Patch Set 2 : s390 port #
Messages
Total messages: 7 (3 generated)
|