• Seth Brenith's avatar
    [torque] Add @relaxedRead annotation · cffd8bc8
    Seth Brenith authored
    When generating getters, Torque needs to decide whether to perform a
    normal or relaxed load. Thus far, it has used the somewhat non-obvious
    logic that any indexed field with tagged non-smi data gets relaxed
    loads. This change adds a new annotation @relaxedRead to be consistent
    with the existing @relaxedWrite annotation. I added @relaxedRead
    annotations on any field that previously had this automatic behavior and
    whose getter is called, except for those in ScopeInfo because I'm
    relatively confident that it doesn't need relaxed access.
    
    Bug: v8:7793
    Change-Id: I9987eea13760b967f1b8a3189b69742e55140c30
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2600113
    Commit-Queue: Seth Brenith <seth.brenith@microsoft.com>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#72499}
    cffd8bc8
fixed-array.tq 5.87 KB