0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 15:06:33 +01:00
nodejs/deps/v8
Matheus Marchini 1cd235d1a0
deps: patch V8 to run on Xcode 8
Patch V8 (wasm/wasm-module.cc) to remove const qualifier from type
passed to template call of `OwnedVector::Of`. Xcode 8 can't convert
'OwnedVector<unsigned char>' to 'OwnedVector<const unsigned char>' when
returning from a function (which is likely a bug on Xcode, considering
this worked on the prior version of Xcode as well as newer versions).
This workaround shouldn't affect the application, since the const
qualifier is preserved in the AsmJsOffsetInformation::encoded_offset_.

There's also a V8 test passing a const-qualified type to ::Of, but since
we don't test V8 on Xcode 8, it should be fine to leave it as is.

Signed-off-by: Matheus Marchini <mmarchini@netflix.com>

PR-URL: https://github.com/nodejs/node/pull/32116
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2020-03-18 16:37:16 -07:00
..
base/trace_event/common deps: update V8 to 8.1.307.20 2020-03-18 16:23:22 -07:00
build_overrides
custom_deps
docs
gni deps: update V8 to 8.1.307.20 2020-03-18 16:23:22 -07:00
include deps: V8: silence irrelevant warnings 2020-03-18 16:37:03 -07:00
infra deps: update V8 to 8.1.307.20 2020-03-18 16:23:22 -07:00
samples
src deps: patch V8 to run on Xcode 8 2020-03-18 16:37:16 -07:00
test deps: update V8 to 8.1.307.20 2020-03-18 16:23:22 -07:00
testing
third_party deps: update V8 to 8.1.307.20 2020-03-18 16:23:22 -07:00
tools deps: V8: un-cherry-pick bd019bd 2020-03-18 16:27:32 -07:00
.clang-format
.clang-tidy
.editorconfig
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore deps: update V8 to 8.1.307.20 2020-03-18 16:23:22 -07:00
.gn
.vpython
.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.1.307.20 2020-03-18 16:23:22 -07:00
BUILD.gn deps: update V8 to 8.1.307.20 2020-03-18 16:23:22 -07:00
CODE_OF_CONDUCT.md
codereview.settings
COMMON_OWNERS deps: update V8 to 8.1.307.20 2020-03-18 16:23:22 -07:00
DEPS deps: update V8 to 8.1.307.20 2020-03-18 16:23:22 -07:00
ENG_REVIEW_OWNERS
INFRA_OWNERS deps: update V8 to 8.1.307.20 2020-03-18 16:23:22 -07:00
INTL_OWNERS
LICENSE
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8
LICENSE.valgrind
MIPS_OWNERS
OWNERS
PPC_OWNERS
PRESUBMIT.py deps: update V8 to 8.1.307.20 2020-03-18 16:23:22 -07:00
README.md
S390_OWNERS
WATCHLISTS deps: update V8 to 8.1.307.20 2020-03-18 16:23:22 -07:00

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.