commit | 65772129116ecda6ed321a7f5f22559610bd3f85 | [log] [tgz] |
---|---|---|
author | Nikolaos Papaspyrou <nikolaos@chromium.org> | Mon Jan 27 11:20:04 2025 |
committer | V8 LUCI CQ <v8-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 30 12:17:48 2025 |
tree | 993e4f04c3743b561e12da0aa455599b7024796d | |
parent | 7fb76b503ea146071d9277977dbf813738b37deb [diff] |
[handles] Introduce and DirectHandle::From{Address,Slot} This CL introduces two static methods, DirectHandle::FromAddress and DirectHandle::FromSlot, for creating direct handles given an Address and an Address*, respectively. The former is to be used instead of the explicit constructor, which is now made private. The latter is to be used for avoiding implicit IndirectHandle to DirectHandle conversions, when a slot is given. Bug: 42203211 Change-Id: I501dc9b3ec84f3cefa3d2ee841ab2ef3858307f6 Cq-Include-Trybots: luci.v8.try:v8_linux64_css_dbg Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6198998 Reviewed-by: Omer Katz <omerkatz@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Nikolaos Papaspyrou <nikolaos@chromium.org> Cr-Commit-Position: refs/heads/main@{#98410}
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.