• Adithya Srinivasan's avatar
    Add JSSpecialApiObjectType to fast path · f65251be
    Adithya Srinivasan authored
    HTMLCollection and NodeList have InstanceType
    JS_SPECIAL_API_OBJECT_TYPE, and therefore always run the slow case
    of GetAlignedPropertyFromInternalField. This slows down the performance
    of indexedPropertyGetter for both types, which are very commonly used
    in websites.
    
    Bug: 
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Change-Id: I36bd2cd7d9bbc19149e15174f6868b8a1f1658c8
    Reviewed-on: https://chromium-review.googlesource.com/726529Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
    Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48760}
    f65251be
v8.h 338 KB