Description[array] Fast allocation in Array.p.map and Array.p.filter
No need to call through ConstructJS -> ArrayCode -> ArrayConstructorStub
-> AllocateJSArray if we can call AllocateJSArray directly.
This also moves ArraySpeciesCreate to builtins-array-gen to free
up space in the binary.
BUG=v8:6354
Review-Url: https://codereview.chromium.org/2874833004
Cr-Commit-Position: refs/heads/master@{#45276}
Committed: https://chromium.googlesource.com/v8/v8/+/11d80c95caac115e3c6daf8545b2a7e04a8f1c3d
Patch Set 1 #Patch Set 2 : Don't load the map twice #Patch Set 3 : FAST_HOLEY #Patch Set 4 : Move fast path to ArraySpeciesCreate #Patch Set 5 : Check len smi-ness #
Messages
Total messages: 27 (23 generated)
|