Robo a807d357bf chore: cherry-pick 84853ff62a from v8 (#27800) 4 years ago
..
.patches a807d357bf chore: cherry-pick 84853ff62a from v8 (#27800) 4 years ago
README.md 4b9da4dd0e chore: remove mips64el patches as they've largely been upstreamed (#18628) 5 years ago
add_realloc.patch 359110a651 ci: auto-3way patches and detect changes (#23031) 5 years ago
backport_1084820.patch fbf024dba4 chore: cherry-pick fix from chromium issue 1084820 (#24566) 4 years ago
backport_1151890.patch f56bf9fad4 chore: Chromium backports M87-1 (#26931) 4 years ago
backport_986051.patch 3fad4f2afa chore: cherry-pick fix from chromium issue 986051 (#24614) 4 years ago
build_gn.patch f193d9a34f chore: bump chromium to 83.0.4103.14 (9-x-y) (#23095) 5 years ago
cherry-pick-146bd99e762b.patch 5b53cfa56f chore: cherry-pick 146bd99e762b from v8 (#26400) 4 years ago
cherry-pick-290fe9c6e245.patch c2136b6065 chore: cherry-pick 290fe9c6e245 from v8 (#26897) 4 years ago
cherry-pick-36abafa0a316.patch 621040beb7 chore: cherry-pick 36abafa0a316 from v8 (#27622) 4 years ago
cherry-pick-6a4cd97d6691.patch 305d623570 chore: cherry-pick 6a4cd97d6691 from v8 (#26207) 4 years ago
cherry-pick-6aa1e71fbd09.patch e3d1a3163f chore: cherry-pick 6aa1e71fbd09 from v8 (#26200) 4 years ago
cherry-pick-7e5c7b5964.patch ea7d9182a1 chore: cherry-pick 7e5c7b5964 from v8 (#25645) 4 years ago
cherry-pick-815b12dfb5ec.patch f729d7456f chore: cherry-pick 815b12dfb5ec from v8 (#26412) 4 years ago
cherry-pick-8c725f7b5bbf.patch badae800c1 chore: cherry-pick 8c725f7b5bbf from v8 (#26409) 4 years ago
cherry-pick-ffd6ff5a61b9.patch fd76e72ae9 chore: cherry-pick ffd6ff5a61b9 from v8 (#27413) 4 years ago
dcheck.patch 359110a651 ci: auto-3way patches and detect changes (#23031) 5 years ago
do_not_export_private_v8_symbols_on_windows.patch f193d9a34f chore: bump chromium to 83.0.4103.14 (9-x-y) (#23095) 5 years ago
export_symbols_needed_for_windows_build.patch 3d941fc464 chore: bump chromium to 82.0.4085.10 (9-x-y) (#22506) 5 years ago
expose_mksnapshot.patch f193d9a34f chore: bump chromium to 83.0.4103.14 (9-x-y) (#23095) 5 years ago
fix_alreadycalled_checking_in_element_closures.patch 91849fccbe chore: cherry-pick 26df3fdc25 from v8 (#24885) 4 years ago
fix_build_deprecated_attirbute_for_older_msvc_versions.patch ca515aea55 fix: compilation of native modules on windows with older msvc versions (#21950) 5 years ago
merged_compiler_mark_jsstoreinarrayliteral_as_needing_a_frame.patch cf61e2cd48 chore: cherry-pick 44d052c and 0919d75 from v8. (#27421) 4 years ago
merged_deoptimizer_stricter_checks_during_deoptimization.patch cf61e2cd48 chore: cherry-pick 44d052c and 0919d75 from v8. (#27421) 4 years ago
merged_interpreter_store_accumulator_to_callee_after_optional.patch a807d357bf chore: cherry-pick 84853ff62a from v8 (#27800) 4 years ago
perf_make_getpositioninfoslow_faster.patch a1e9b973b1 perf: improve heap snapshot performance (#26228) 4 years ago
revert_cleanup_switch_offset_of_to_offsetof_where_possible.patch 359110a651 ci: auto-3way patches and detect changes (#23031) 5 years ago
wasm_do_not_log_code_of_functions_whose_module_is_not_fully_loaded.patch 0f70d096fc fix: crash when using v8 cpu_profiler with wasm in the renderer (#25220) 4 years ago
workaround_an_undefined_symbol_error.patch 3d941fc464 chore: bump chromium to 82.0.4085.10 (9-x-y) (#22506) 5 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.