commit | bb2ee0468c74a91abdfa9710f2f2aab22c3fcadc | [log] [tgz] |
---|---|---|
author | Clemens Hammacher <clemensh@chromium.org> | Mon Feb 04 09:04:04 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 04 09:44:18 2019 |
tree | ceaf91ffe26b269cf8011a813bbb4fba28ee3076 | |
parent | 40633b4f48bbb2b8a5534cae34df4374fbf61ae1 [diff] |
[isolate] Introduce SaveAndSwitchContext The most common use of {SaveContext} is to allocate this object, then immediately set the context of the isolate to another Context. Thus introduce a second class called "SaveAndSwitchContext" which implements exactly that. R=mstarzinger@chromium.org Bug: v8:8562 Change-Id: I2fca1eadd909a7afe035316ded934624273f2e21 Reviewed-on: https://chromium-review.googlesource.com/c/1448319 Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#59323}
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://github.com/v8/v8/wiki
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 on the V8 wiki.