• Leszek Swirski's avatar
    [map] Update map in PrepareForDataProperty · 9c1363e5
    Leszek Swirski authored
    Deprecated maps might not be updated before being passed to
    PrepareForDataProperty. If the target map is a dictionary map,
    then adding the data property can fail.
    
    As a drive-by, remove the dead ForTransitionHandler code, which
    was another (potentially unsafe) caller of PrepareForDataProperty
    
    Bug: chromium:977012
    Change-Id: I894bbc9bca2001555474a3570eb03fe6b0f69ddd
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1674029
    Auto-Submit: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#62377}
    9c1363e5
lookup.cc 44.6 KB