mirror of
https://github.com/v8/v8.git
synced 2026-10-28 09:47:03 +08:00
7c4b41ebac65789d789b5b8e339f4aae8a04edd6
This patch refactors the flag implication macros to accept arbitrary boolean conditions instead of just a single flag. This is implemented by creating local references to all flags within EnforceImplications(), allowing conditions to be written as natural C++ expressions. This simplifies several existing implications, removing the need for intermediate helper flags. Change-Id: Ida2d778975ec1e5402835e05553a23059c110e50 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7112559 Commit-Queue: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Darius Mercadier <dmercadier@chromium.org> Auto-Submit: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#103538}
V8 JavaScript Engine
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
Getting the Code
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/*
Contributing
Please follow the instructions mentioned at v8.dev/docs/contribute.
Languages
C++
76.8%
JavaScript
20.2%
Python
1.8%
C
0.4%
TypeScript
0.3%
Other
0.3%