• Jakob Gruber's avatar
    Revert "Optimize TypedArraySpeciesCreate using SpeciesProtector of Array" · b131cc35
    Jakob Gruber authored
    This reverts commit 8fbc6a05.
    
    Reason for revert: https://crbug.com/800356
    
    Original change's description:
    > Optimize TypedArraySpeciesCreate using SpeciesProtector of Array
    > 
    > If there is no constructor or species updates on Array or TypedArrays,
    > then skip lookups of constructor and species so that we can create a new
    > typed array quickly. This path makes TA.p.slice() 4x faster in fast
    > cases.
    > 
    > Bug: v8:7161
    > Change-Id: Ib8d2a3f6b8b5ed356c5822a814164166d1285f64
    > Reviewed-on: https://chromium-review.googlesource.com/828343
    > Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    > Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
    > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#50423}
    
    TBR=jkummerow@chromium.org,jgruber@chromium.org,ishell@chromium.org,bmeurer@chromium.org,cwhan.tunz@gmail.com
    
    Change-Id: Icca07564d2a83710852eb797bac25f1d5600696e
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: v8:7161
    Reviewed-on: https://chromium-review.googlesource.com/859156Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50470}
    b131cc35
js-array.h 12.4 KB