• Jakob Gruber's avatar
    [compiler] Pass actual type/rep into dependencies · ffd68240
    Jakob Gruber authored
    .. instead of recalculating them at the risk of getting different
    answers.
    
    In a concurrent setting, repeated type/rep calculations are not
    guaranteed to return the same answer. Instead, calculate them once and
    pass them into dependency creation methods.
    
    Note with this CL we now get the type/rep off the holder map and not
    the field owner map. The results should be identical and behavior
    should not change (verified by CHECKs).
    
    Bug: v8:7790
    Change-Id: I2b4c3bb8907082c69448ca743d3c8740cd8f71f3
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3055306Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#75951}
    ffd68240
compilation-dependencies.h 7.48 KB