fb03d6b977104faf48a90c4134744d61d75813fb
According to V8's public API documentation, local handles (i.e., objects of type v8::Local<T>) "should never be allocated on the heap". This disallows heap-allocated data structures containing instances of v8::Local, like std::vector<v8::Local<v8::String>>. It is unfortunate that the V8 API itself requires the usage of such data structures. This CL continues the deprecation of such data structures from V8's public API: 1. It replaces the out parameter of type std::vector<Local<Object>> of Context::DeepFreezeDelegate::FreezeEmbedderObjectAndGetChildren with a LocalVector<Object>. 2. It replaces the std::vector<std::pair<Local<Context>, size_t>> of MeasureMemoryDelegate with two MemorySpan objects. Bug: chromium:1454114 Change-Id: Ifa7634a37849dee0a3d80d00355a2f1fbfe378ab Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4877014 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Anton Bikineev <bikineev@chromium.org> Commit-Queue: Nikolaos Papaspyrou <nikolaos@chromium.org> Cr-Commit-Position: refs/heads/main@{#90488}
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.
Description
The bare minimum headers from v8 required to build sandstorm from source.
https://chromium.googlesource.com/v8/v8.git
931 MiB
0 Stars
1 Watchers
0 Forks
Languages
Markdown
100%