node/deps/v8
Anna Henningsen a91a95f820
deps: V8: backport 4bf051d536a1
Original commit message:

    [api] Add Context::GetMicrotaskQueue method

    Add a method that returns the microtask queue that is being used
    by the `v8::Context`.

    This is helpful in non-monolithic embedders like Node.js, which
    accept Contexts created by its own embedders like Electron, or
    for native Node.js addons. In particular, it enables:

    1. Making sure that “nested” `Context`s use the correct microtask
       queue, i.e. the one from the outer Context.
    2. Enqueueing microtasks into the correct microtask queue.

    Previously, these things only worked when the microtask queue for
    a given Context was the Isolate’s default queue.

    As an alternative, I considered adding a way to make new `Context`s
    inherit the queue from the `Context` that was entered at the time
    of their creation, but that seemed a bit more “magic”, less flexible,
    and didn’t take care of concern 2 listed above.

    Change-Id: I15ed796df90f23c97a545a8e1b30a3bf4a5c4320
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2579914
    Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    Commit-Queue: Toon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71710}

Refs: 4bf051d536

PR-URL: https://github.com/nodejs/node/pull/36482
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2020-12-13 22:03:41 +01:00
..
base/trace_event/common deps: update V8 to 8.6.395 2020-10-18 20:16:47 +02:00
build_overrides deps: update V8 to 8.4.371.19 2020-07-13 14:41:41 +02:00
custom_deps deps: update V8 to 7.8.279.9 2019-10-07 03:19:23 -04:00
docs deps: update V8 to 7.6.303.28 2019-08-01 12:53:56 +02:00
gni deps: update V8 to 8.7.220 2020-11-15 16:46:54 +01:00
include deps: V8: backport 4bf051d536a1 2020-12-13 22:03:41 +01:00
infra deps: update V8 to 8.7.220 2020-11-15 16:46:54 +01:00
samples deps: update V8 to 8.7.220 2020-11-15 16:46:54 +01:00
src deps: V8: backport 4bf051d536a1 2020-12-13 22:03:41 +01:00
test deps: V8: backport 4bf051d536a1 2020-12-13 22:03:41 +01:00
testing deps: update V8 to 8.4.371.19 2020-07-13 14:41:41 +02:00
third_party deps: update V8 to 8.7.220 2020-11-15 16:46:54 +01:00
tools deps: update V8 postmortem metadata script 2020-11-15 16:47:22 +01:00
.clang-format
.clang-tidy
.editorconfig
.flake8 deps: update V8 to 7.7.299.4 2019-08-19 09:25:23 +02:00
.git-blame-ignore-revs deps: update V8 to 8.3.110.9 2020-05-12 16:12:13 +02:00
.gitattributes
.gitignore deps: update V8 to 8.4.371.19 2020-07-13 14:41:41 +02:00
.gn deps: update V8 to 7.8.279.9 2019-10-07 03:19:23 -04:00
.vpython deps: update V8 to 7.6.303.28 2019-08-01 12:53:56 +02:00
.ycm_extra_conf.py deps: update V8 to 8.1.307.20 2020-03-18 16:23:22 -07:00
AUTHORS deps: update V8 to 8.7.220 2020-11-15 16:46:54 +01:00
BUILD.gn deps: update V8 to 8.7.220 2020-11-15 16:46:54 +01:00
CODE_OF_CONDUCT.md
COMMON_OWNERS deps: update V8 to 8.7.220 2020-11-15 16:46:54 +01:00
DEPS deps: update V8 to 8.7.220 2020-11-15 16:46:54 +01:00
ENG_REVIEW_OWNERS deps: update V8 to 7.6.303.28 2019-08-01 12:53:56 +02:00
INFRA_OWNERS deps: update V8 to 8.6.395 2020-10-18 20:16:47 +02:00
INTL_OWNERS deps: update V8 to 8.4.371.19 2020-07-13 14:41:41 +02:00
LICENSE
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8
MIPS_OWNERS deps: update V8 to 7.6.303.28 2019-08-01 12:53:56 +02:00
OWNERS deps: update V8 to 7.9.317.20 2019-11-08 15:46:25 +01:00
PPC_OWNERS deps: update V8 to 8.7.220 2020-11-15 16:46:54 +01:00
PRESUBMIT.py deps: update V8 to 8.6.395 2020-10-18 20:16:47 +02:00
README.md
S390_OWNERS deps: update V8 to 8.7.220 2020-11-15 16:46:54 +01:00
WATCHLISTS deps: update V8 to 8.4.371.19 2020-07-13 14:41:41 +02:00
codereview.settings

README.md

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.