• Leszek Swirski's avatar
    [cleanup] Remove Isolate parameter from object print · 13b899a5
    Leszek Swirski authored
    With ReadOnlyRoots and GetIsolate on JSReceiver, we can remove almost
    every isolate parameter from <Object>::Print. The remaining ones, like
    Map, are special-caseable for read-only maps, and as a result we can
    remove isolate parameters from <Object>::Print entirely.
    
    This patch also opportunistically cleans up a few places where isolates
    were only needed for Object::Print, such as TransitionAccessors and
    DescriptorArrays.
    
    TBR=yangguo@chromium.org,mstarzinger@chromium.org
    
    Bug: v8:7786
    Change-Id: Id44bd53b9893e679eea5f37b9548257595a1bfd9
    Reviewed-on: https://chromium-review.googlesource.com/1133385Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarDan Elphick <delphick@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#54401}
    13b899a5
debug-scopes.cc 31.4 KB