• Simon Zünd's avatar
    Introduce stack locals black list field on the ScopeInfo object · 73f3d2b1
    Simon Zünd authored
    This CL is a prepatory step towards moving the stack locals blacklist
    from the DebugEvaluateContext to the respective {ScopeInfo} objects.
    
    The locals blacklist is used during local debug evaluate to
    decide whether a context lookup can advance the context chain
    upwards, or if lookup needs to stop at the current scope.
    
    This CL also introduces a "Recreate" static helper method, that
    allows an existing ScopeInfo to be cloned, but with a locals
    blacklist attached. This will be needed since blacklists are only
    created on-demand during debugging.
    
    R=leszeks@chromium.org
    
    Bug: chromium:1027475, v8:9938
    Change-Id: I673dbc99ce9fdc84cb5cda3f9710ba2b76ab92ee
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1946349
    Commit-Queue: Simon Zünd <szuend@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65380}
    73f3d2b1
scope-info.cc 41 KB