0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/deps/v8
Refael Ackermann 8e308e8b28 deps,v8: cherry-pick 385aa80
Original commit message:

    Correct removal of redundant moves

    The logic for removing while iterating is non-standard and
    a left over from a previous index based loop. This patch
    replaces it with a standard erase based version.

    This fixes a runtime crash with MSVC that invalidates the
    iterator and then asserts. This also makes the code safe
    in case the last move can be redundant.

    Change-Id: Ie6990e0d65a3b83a4b7da3e2e89ed4e60a6cd215
    Reviewed-on: https://chromium-review.googlesource.com/c/1488762
    Reviewed-by: Ben Titzer <titzer@chromium.org>
    Commit-Queue: Ben Titzer <titzer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59868}

Refs: 385aa80aff

PR-URL: https://github.com/nodejs/node/pull/26702
Fixes: https://github.com/nodejs/node/issues/26694
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2019-03-17 09:28:01 -04:00
..
base/trace_event/common deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
benchmarks deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
build_overrides
custom_deps deps: update V8 to 6.9.427.22 2018-09-07 20:59:13 +02:00
docs
gni deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
gypfiles build,deps,v8: tie up loose ends 2019-03-16 14:49:33 -04:00
include deps: silence irrelevant V8 warnings 2019-03-14 18:50:51 +01:00
infra deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
samples deps: update V8 to 6.9.427.22 2018-09-07 20:59:13 +02:00
src deps,v8: cherry-pick 385aa80 2019-03-17 09:28:01 -04:00
test deps: v8, backport 2d08967 2019-03-14 18:50:22 +01:00
testing
third_party deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
tools deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
.clang-format
.clang-tidy deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
.editorconfig
.git-blame-ignore-revs
.gitattributes deps: update V8 to 7.1.302.28 2018-12-06 15:23:33 +01:00
.gitignore deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
.gn
.vpython deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
.ycm_extra_conf.py
AUTHORS deps,v8: cherry-pick 385aa80 2019-03-17 09:28:01 -04:00
BUILD.gn deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
ChangeLog deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
CODE_OF_CONDUCT.md
codereview.settings
DEPS deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
LICENSE
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8
LICENSE.valgrind
OWNERS deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
PRESUBMIT.py deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
README.md
snapshot_toolchain.gni deps: update V8 to 7.3.492.25 2019-03-14 18:49:21 +01:00
WATCHLISTS

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://github.com/v8/v8/wiki

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 on the V8 wiki.