commit | 30a8616ab9680ea37710e515af64ac9a37b0dee2 | [log] [tgz] |
---|---|---|
author | Simon Zünd <szuend@chromium.org> | Mon May 09 08:28:39 2022 |
committer | V8 LUCI CQ <v8-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 10 09:40:05 2022 |
tree | fd8e57bbcf6ed6cf736436775dec45735266cfd8 | |
parent | 7beb93cdfff62ca387a1988180f1fe0e033b6939 [diff] |
[unwinder] Support 'restart frame' in the unwinder Doc: https://bit.ly/revive-restart-frame This CL implements support for the Debugger's "restart frame" functionality in the unwinder. When the debugger wants to restart a frame, we throw a termination exception. The unwinder checks if we are currently in "restart frame mode", and if so, drops execution into a special builtin instead of trying to find a catch handler. Optimized frames are handled similarly, but the deoptimizer has to materialize the frames first before also dropping into the special builtin. Drive-by: Rename `ShouldRestartFrame` to `IsRestartFrameScheduled`, so we can reuse the name `ShouldRestartFrame` as a query method to check if a specific frame is the frame we want to restart. R=jarin@chromium.org, tebbi@chromium.org Bug: chromium:1303521 Change-Id: Iff4f5761f970b65e22485f78ee0fd85da620ce66 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3613397 Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Commit-Queue: Simon Zünd <szuend@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Nico Hartmann <nicohartmann@chromium.org> Cr-Commit-Position: refs/heads/main@{#80443}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://v8.dev/docs
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies. To stay up to date, run
git pull origin gclient sync
For fetching all branches, add the following into your remote configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* fetch = +refs/tags/*:refs/tags/*
Please follow the instructions mentioned at v8.dev/docs/contribute.