Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: update V8 to 8.4 #33579

Closed
wants to merge 19 commits into from
Closed

deps: update V8 to 8.4 #33579

wants to merge 19 commits into from

Commits on Jul 13, 2020

  1. deps: update V8 to 8.4.371.19

    targos committed Jul 13, 2020
    Copy the full SHA
    43b2c1c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7234b07 View commit details
    Browse the repository at this point in the history
  3. src: update NODE_MODULE_VERSION to 86

    Major V8 updates are usually API/ABI incompatible with previous
    versions. This commit adapts NODE_MODULE_VERSION for V8 8.4.
    
    Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
    targos committed Jul 13, 2020
    Copy the full SHA
    8f73a8b View commit details
    Browse the repository at this point in the history
  4. deps: V8: un-cherry-pick bd019bd

    Original commit message:
    
        [testrunner] delete ancient junit compatible format support
    
        Testrunner has ancient support for JUnit compatible XML output.
    
        This CL removes this old feature.
    
        R=mstarzinger@chromium.org,jgruber@chromium.org,jkummerow@chromium.org
        CC=​machenbach@chromium.org
    
        Bug: v8:8728
        Change-Id: I7e1beb011dbaec3aa1a27398a5c52abdd778eaf0
        Reviewed-on: https://chromium-review.googlesource.com/c/1430065
        Reviewed-by: Jakob Gruber <jgruber@chromium.org>
        Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
        Commit-Queue: Tamer Tas <tmrts@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#59045}
    
    Refs: v8/v8@bd019bd
    
    PR-URL: nodejs#32116
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    refack authored and targos committed Jul 13, 2020
    Copy the full SHA
    fb3b0dd View commit details
    Browse the repository at this point in the history
  5. deps: patch V8 to run on older XCode versions

    Patch V8 (compiler/js-heap-broker.cc) to remove the use of an optional
    property, which is a fairly new C++ feature, since that requires a newer
    XCode version than the minimum requirement in BUILDING.md and thus
    breaks CI.
    
    PR-URL: nodejs#32116
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ryzokuken authored and targos committed Jul 13, 2020
    Copy the full SHA
    c0d86c5 View commit details
    Browse the repository at this point in the history
  6. deps: V8: patch register-arm64.h

    Fixes a compilation issue on some platforms
    
    PR-URL: nodejs#32116
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    refack authored and targos committed Jul 13, 2020
    Copy the full SHA
    f8099c8 View commit details
    Browse the repository at this point in the history
  7. deps: V8: forward declaration of Rtl*FunctionTable

    This should be semver-patch since actual invocation is version
    conditional.
    
    PR-URL: nodejs#32116
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    refack authored and targos committed Jul 13, 2020
    Copy the full SHA
    1b96b58 View commit details
    Browse the repository at this point in the history
  8. deps: make v8.h compatible with VS2015

    There is a bug in the most recent version of VS2015 that affects v8.h
    and therefore prevents compilation of addons.
    
    Refs: https://stackoverflow.com/q/38378693
    
    PR-URL: nodejs#32116
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joaocgreis authored and targos committed Jul 13, 2020
    Copy the full SHA
    c4467f9 View commit details
    Browse the repository at this point in the history
  9. deps: V8: silence irrelevant warnings

    PR-URL: nodejs#26685
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    
    PR-URL: nodejs#32116
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    targos committed Jul 13, 2020
    Copy the full SHA
    8f52486 View commit details
    Browse the repository at this point in the history
  10. 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: nodejs#32116
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    mmarchini authored and targos committed Jul 13, 2020
    Copy the full SHA
    7ff9747 View commit details
    Browse the repository at this point in the history
  11. deps: V8: cherry-pick 9868b2aefa1a

    Original commit message:
    
        Fix SmartOS compilation errors
    
        This commit resolves compilation errors on SmartOS that
        were found while upgrading Node.js.
    
        See: nodejs#32831
        Change-Id: Ia2a2e028ba4f5bfd69c050cab4fb4e13af5eefd9
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2191054
        Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
        Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
        Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#67793}
    
    Refs: v8/v8@9868b2a
    targos committed Jul 13, 2020
    Copy the full SHA
    7ff6546 View commit details
    Browse the repository at this point in the history
  12. deps: V8: fix compilation on VS2017

    gengjiawen authored and targos committed Jul 13, 2020
    Copy the full SHA
    2793f45 View commit details
    Browse the repository at this point in the history
  13. deps: V8: backport 22014de00115

    Original commit message:
    
        Reland "[snapshot] rehash JSMap and JSSet during deserialization"
    
        This is a reland of 8374feed55a5b3010f2e9593560a2d84f9f6725f.
    
        Fixed rehashing of global proxy keys by creating its identity hash
        early, before the deserialization of the context snapshot.
    
        Original change's description:
        > [snapshot] rehash JSMap and JSSet during deserialization
        >
        > To rehash JSMap and JSSet, we simply replace the backing store
        > with a new one created with the new hash.
        >
        > Bug: v8:9187
        > Change-Id: I90c25b18b33b7bc2b6ffe1b89fe17aa5f978b517
        > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2143983
        > Commit-Queue: Joyee Cheung <joyee@igalia.com>
        > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
        > Reviewed-by: Camillo Bruni <cbruni@chromium.org>
        > Cr-Commit-Position: refs/heads/master@{#67663}
    
        Bug: v8:9187, v8:10523
        Change-Id: I7a0319b1d10ff07644de902fec43e7c2b1dd8da9
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2212085
        Reviewed-by: Leszek Swirski <leszeks@chromium.org>
        Reviewed-by: Camillo Bruni <cbruni@chromium.org>
        Reviewed-by: Jakob Gruber <jgruber@chromium.org>
        Commit-Queue: Joyee Cheung <joyee@igalia.com>
        Cr-Commit-Position: refs/heads/master@{#67999}
    
    Refs: v8/v8@22014de
    
    PR-URL: nodejs#33300
    Refs: v8/v8@ea0719b
    Refs: v8/v8@bb9f0c2
    Refs: nodejs#17058
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    joyeecheung authored and targos committed Jul 13, 2020
    Copy the full SHA
    78f1aff View commit details
    Browse the repository at this point in the history
  14. deps: V8: cherry-pick eec10a2fd8fa

    Original commit message:
    
        [promisehook] Add before/after hooks to thenable tasks
    
        This will allow Node.js to properly track async context in thenables.
    
        Change-Id: If441423789a78307a57ad7e645daabf551cddb57
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2215624
        Reviewed-by: Camillo Bruni <cbruni@chromium.org>
        Reviewed-by: Sathya Gunasekaran  <gsathya@chromium.org>
        Commit-Queue: Gus Caplan <me@gus.host>
        Cr-Commit-Position: refs/heads/master@{#68207}
    
    Refs: v8/v8@eec10a2
    
    PR-URL: nodejs#33778
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Qard authored and targos committed Jul 13, 2020
    Copy the full SHA
    212ee34 View commit details
    Browse the repository at this point in the history
  15. deps: update V8 postmortem metadata script

    This commit updates V8's gen-postmortem-metadata.py script
    to fix SmartOS compilation for V8 8.4.
    cjihrig authored and targos committed Jul 13, 2020
    Copy the full SHA
    808c886 View commit details
    Browse the repository at this point in the history
  16. deps: V8: backport 2d5017a0fc02

    Original commit message:
    
        [coverage] remove the last continuation range before synthetic return
    
        Rather than only removing the continuation range for the last return
        statement prior to a synthetic return statement, remove the
        continuation tracking for whatever statement occurs prior to the
        synthetic return.
    
        Bug: v8:10628
        Change-Id: Ieb8e393479c9811cf1b9756840bbfdbe7f44a1b8
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2280585
        Commit-Queue: Benjamin Coe <bencoe@google.com>
        Reviewed-by: Toon Verwaest <verwaest@chromium.org>
        Reviewed-by: Jakob Gruber <jgruber@chromium.org>
        Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#68719}
    
    Refs: v8/v8@2d5017a
    
    PR-URL: nodejs#34272
    Refs: bcoe/c8#229
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    bcoe authored and targos committed Jul 13, 2020
    Copy the full SHA
    b5fee75 View commit details
    Browse the repository at this point in the history
  17. tools: update V8 gypfiles for 8.4

    ryzokuken authored and targos committed Jul 13, 2020
    Copy the full SHA
    2daa35c View commit details
    Browse the repository at this point in the history
  18. deps: bump minimum icu version to 67

    Bump minimum version of ICU needed to build node to 67.
    
    Refs: v8/v8@611e412
    targos committed Jul 13, 2020
    Copy the full SHA
    2846163 View commit details
    Browse the repository at this point in the history
  19. test: remove test/v8-updates/test-postmortem-metadata.js

    The postmortem metadata test is no longer used to maintain
    postmortem debugging tools. Since it frequently breaks on
    V8 updates, it makes more sense to just remove it.
    cjihrig authored and targos committed Jul 13, 2020
    Copy the full SHA
    b851ff9 View commit details
    Browse the repository at this point in the history