• Adam Klein's avatar
    Revert "Add fast paths to Array.from." · f88a1d87
    Adam Klein authored
    This reverts commit 7bd9eb7e.
    
    Reason for revert: crashes on canary, see https://crbug.com/901010
    
    Original change's description:
    > Add fast paths to Array.from.
    >
    > This reuses the fast path from IterableToList for Array.from. The fast
    > paths are taken when .from is called with the receiver Array and the only
    > argument is the iterable (no mapping function or thisArg).
    >
    > Bug: v8:7980
    > Change-Id: I975b0c5e3f838262d7b71ad4dec5111fb031d746
    > Reviewed-on: https://chromium-review.googlesource.com/c/1297322
    > Commit-Queue: Hai Dang <dhai@google.com>
    > Reviewed-by: Georg Neis <neis@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#56993}
    
    TBR=neis@chromium.org,dhai@google.com
    Bug: v8:7980, chromium:901010, v8:8410
    
    Change-Id: I5e73267f0b3a905582c57a6fad1459c031600a73
    Reviewed-on: https://chromium-review.googlesource.com/c/1315935
    Commit-Queue: Adam Klein <adamk@chromium.org>
    Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#57221}
    f88a1d87
builtins-iterator-gen.cc 12.3 KB