• Frank Emrich's avatar
    [dict-proto] TF support for constants in dictionary mode protos, pt. 2 · afe9020f
    Frank Emrich authored
    This CL is part of a  series that implements Turbofan support for
    property accesses satisfying the following conditions:
    1. The holder is a dictionary mode object.
    2. The holder is a prototype.
    3. The access is a load.
    
    This feature will only be enabled if the build flag
    v8_dict_property_const_tracking is set.
    
    This particular CL implements support for the case that the property
    in question is a data property, meaning that the given
    PropertyAccessInfo has kind kDataDictionaryProtoConstant.
    Support for accessor properties is added in a separated CL.
    
    Bug: v8:11248
    Change-Id: I8794127d08c3d3aed6ec2a3eb19c4c82bdf2d1df
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2718229
    Commit-Queue: Frank Emrich <emrich@google.com>
    Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#73603}
    afe9020f
js-objects.h 49.8 KB