Pedro Pontes aa49093fb7 chore: cherry-pick 05ccacee14 from v8. (#32218) 3 years ago
..
.patches aa49093fb7 chore: cherry-pick 05ccacee14 from v8. (#32218) 3 years ago
README.md 4b9da4dd0e chore: remove mips64el patches as they've largely been upstreamed (#18628) 5 years ago
add_realloc.patch f72597be06 chore: bump chromium to 91.0.4472.33 (13-x-y) (#28660) 4 years ago
build_gn.patch f72597be06 chore: bump chromium to 91.0.4472.33 (13-x-y) (#28660) 4 years ago
cherry-pick-014e1f857c33.patch 2dd1034146 chore: cherry-pick 014e1f857c33 from v8 (#31673) 3 years ago
cherry-pick-034c2003be31.patch fe44e01dbb chore: cherry-pick 034c2003be31 from v8 (#30939) 3 years ago
cherry-pick-1228036.patch dcb311d5c9 chore: cherry-pick fix for 1228036 from v8 (#30639) 3 years ago
cherry-pick-1231950.patch f2275ec32e chore: cherry-pick fix for 1231950 from v8 (#30584) 3 years ago
cherry-pick-1234764.patch 6308fc4c4e chore: cherry-pick fix for 1234764 from v8 (#30587) 3 years ago
cherry-pick-1234770.patch d7d9d58c8b chore: cherry-pick fix for 1234770 from v8 (#30586) 3 years ago
cherry-pick-418c276ef228.patch ca112e2e4d chore: cherry-pick 418c276ef228 from v8 (#32194) 3 years ago
cherry-pick-5c4acf2ae64a.patch cf9ae70dbc chore: cherry-pick 5c4acf2ae64a from v8 (#31228) 3 years ago
cherry-pick-5d2b5e7c006c.patch daa220f84e chore: cherry-pick 5d2b5e7c006c from v8 (#31912) 3 years ago
cherry-pick-6de4e210688e.patch 42aa56a575 chore: cherry-pick 6de4e210688e from v8 (#31503) 3 years ago
cherry-pick-e38d55313ad9.patch e2b961d73c chore: cherry-pick e38d55313ad9 from v8 (#30246) 3 years ago
cherry-pick-fbfd2557c2ab.patch efd18b09ca chore: cherry-pick fbfd2557c2ab from v8 (#30821) 3 years ago
cherry-pick-feef10137b16.patch f8ba210b21 chore: cherry-pick feef10137b16 from v8 (#31665) 3 years ago
dcheck.patch 77fbad0333 chore: bump chromium to 91.0.4472.164 (13-x-y) (#30169) 3 years ago
do_not_export_private_v8_symbols_on_windows.patch f72597be06 chore: bump chromium to 91.0.4472.33 (13-x-y) (#28660) 4 years ago
export_symbols_needed_for_windows_build.patch f72597be06 chore: bump chromium to 91.0.4472.33 (13-x-y) (#28660) 4 years ago
expose_mksnapshot.patch f72597be06 chore: bump chromium to 91.0.4472.33 (13-x-y) (#28660) 4 years ago
fix_build_deprecated_attirbute_for_older_msvc_versions.patch e46446e7e4 chore: bump chromium to e836cbe709f3cd703f233de8eb6cc6ec99b72c9d (#27475) 4 years ago
merged_allow_compiled_module_invalidation_at_wasmstreaming_finish.patch 9b94d70194 chore: cherry-pick 04a58fedd5 from v8 (#32237) 3 years ago
merged_cppgc_fix_marking_of_ephemerons_with_keys_in_construction.patch 14c533c256 chore: cherry-pick 656c2769c5 from v8 (#31678) 3 years ago
regexp_add_a_currently_failing_cctest_for_irregexp_reentrancy.patch d70c5d1e6a fix: crash in v8 due to regexp reentrancy (#31142) 3 years ago
regexp_allow_reentrant_irregexp_execution.patch d70c5d1e6a fix: crash in v8 due to regexp reentrancy (#31142) 3 years ago
regexp_remove_the_stack_parameter_from_regexp_matchers.patch d70c5d1e6a fix: crash in v8 due to regexp reentrancy (#31142) 3 years ago
version_9_6_180_13_cherry-pick.patch aa49093fb7 chore: cherry-pick 05ccacee14 from v8. (#32218) 3 years ago
workaround_an_undefined_symbol_error.patch f72597be06 chore: bump chromium to 91.0.4472.33 (13-x-y) (#28660) 4 years ago

README.md

Exporting node's patches to v8

$ cd third_party/electron_node
$ CURRENT_NODE_VERSION=vX.Y.Z  # e.g. v10.11.0

# Find the last commit with the message "deps: update V8 to <some version>"
# This commit corresponds to node resetting V8 to its pristine upstream
# state at the stated version.
$ LAST_V8_UPDATE="$(git log --grep='^deps: update V8' --format='%H' -1 deps/v8)"

# This creates a patch file containing all changes in deps/v8 from
# $LAST_V8_UPDATE up to the current node version, formatted in a way that
# it will apply cleanly to the V8 repository (i.e. with `deps/v8`
# stripped off the path and excluding the v8/gypfiles directory, which
# isn't present in V8.
$ git format-patch \
    --relative=deps/v8 \
    $LAST_V8_UPDATE..$CURRENT_NODE_VERSION \
    deps/v8 \
    ':(exclude)deps/v8/gypfiles' \
    --stdout

When upgrading to a new version of node, make sure to match node's patches to v8 by removing all the deps_* patches and re-exporting node's v8 patches using the process above.