• Simon Zünd's avatar
    Reland "[inspector] Re-enable Debugger#restartFrame" · 9ca7491b
    Simon Zünd authored
    This is a reland of commit 8278cb50
    
    The reland adds the RestartFrameTrampoline to the list of
    builtins that the deoptimizer is allowed to return from for
    control flow integrity.
    
    Original change's description:
    > [inspector] Re-enable Debugger#restartFrame
    >
    > Doc: https://bit.ly/revive-restart-frame
    >
    > This CL "undeprecates" Debugger#restartFrame and adds a new optional
    > "mode" parameter for back-wards compatibility. Moreover, the return
    > values are all deprecated. They were never actually used in the
    > DevTools frontend and the same information is available from the
    > Debugger#paused event that fires once execution stops at the
    > beginning of the restarted function.
    >
    > The CL also re-baselines all the restart-frame inspector tests that
    > now run successfully.
    >
    > R=bmeurer@chromium.org, kimanh@chromium.org
    >
    > Bug: chromium:1303521
    > Change-Id: I34bddeb1f2f4ff3dee58dd82e779c111495566f3
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3616505
    > Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
    > Reviewed-by: Kim-Anh Tran <kimanh@chromium.org>
    > Commit-Queue: Simon Zünd <szuend@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#80491}
    
    Bug: chromium:1303521
    Change-Id: I13e2f8b5011795a38e541310622b8333a3d08049
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3644624Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
    Commit-Queue: Simon Zünd <szuend@chromium.org>
    Reviewed-by: 's avatarKim-Anh Tran <kimanh@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#80534}
    9ca7491b
restart-top-frame-local-variables-expected.txt 1.07 KB