• Igor Sheludko's avatar
    [cleanup] Prepare V8-internal AccessorInfo objects for sharing. · b4fdce5a
    Igor Sheludko authored
    Rename |property_attributes| to |initial_property_attributes| and ensure
    that it is used as a storage of values only for AccessorInfos installed in
    API Templates (i.e. ObjectTemplate and FunctionTemplate).
    When an AccessorInfo is installed directly into an existing JS object
    (via JSObject::SetAccessor) or into a DescriptorArray (when certain V8
    objects' shapes are configured) it is not necessary to thread attributes
    being set through the AccessorInfo instance.
    
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Change-Id: Ibe61026f08c42549756f694129a286635ffe5769
    Reviewed-on: https://chromium-review.googlesource.com/730425
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48978}
    b4fdce5a
test-unboxed-doubles.cc 56.4 KB