|
4 years ago | |
---|---|---|
.. | ||
.patches | cbbf3fa4ed chore: cherry-pick 815b12dfb5ec from v8 (#26413) | 4 years ago |
README.md | 4b9da4dd0e chore: remove mips64el patches as they've largely been upstreamed (#18628) | 5 years ago |
add_realloc.patch | 58c6ea5de8 ci: auto-3way patches and detect changes (#23032) | 5 years ago |
backport_1084820.patch | 25e3fadd56 chore: cherry-pick fix from chromium issue 1084820 (#24565) | 4 years ago |
backport_986051.patch | b852f1de13 chore: cherry-pick fix from chromium issue 986051 (#24615) | 4 years ago |
build_gn.patch | 58c6ea5de8 ci: auto-3way patches and detect changes (#23032) | 5 years ago |
cherry-pick-146bd99e762b.patch | 41234af658 chore: cherry-pick 146bd99e762b from v8 (#26401) | 4 years ago |
cherry-pick-6a4cd97d6691.patch | ff3e6dfa73 chore: cherry-pick 6a4cd97d6691 from v8 (#26208) | 4 years ago |
cherry-pick-6aa1e71fbd09.patch | 20af00374a chore: cherry-pick 6aa1e71fbd09 from v8 (#26201) | 4 years ago |
cherry-pick-7e5c7b5964.patch | d47f7c3270 chore: cherry-pick 7e5c7b5964 from v8 (#25646) | 4 years ago |
cherry-pick-815b12dfb5ec.patch | cbbf3fa4ed chore: cherry-pick 815b12dfb5ec from v8 (#26413) | 4 years ago |
cherry-pick-8c725f7b5bbf.patch | 3efeb6f55a chore: cherry-pick 8c725f7b5bbf from v8 (#26410) | 4 years ago |
cherry-pick-d4ddf645c3ca.patch | c7778a8f2f chore: cherry-pick d4ddf645c3ca from chromium (#23747) | 4 years ago |
dcheck.patch | 58c6ea5de8 ci: auto-3way patches and detect changes (#23032) | 5 years ago |
debugger_allow_termination-on-resume_when_paused_at_a_breakpoint.patch | 49e63948b7 fix: unresponsive window when reloading with breakpoint in devtools (#24490) | 4 years ago |
deps_provide_more_v8_backwards_compatibility.patch | 58c6ea5de8 ci: auto-3way patches and detect changes (#23032) | 5 years ago |
do_not_export_private_v8_symbols_on_windows.patch | 58c6ea5de8 ci: auto-3way patches and detect changes (#23032) | 5 years ago |
export_symbols_needed_for_windows_build.patch | 58c6ea5de8 ci: auto-3way patches and detect changes (#23032) | 5 years ago |
expose_mksnapshot.patch | 58c6ea5de8 ci: auto-3way patches and detect changes (#23032) | 5 years ago |
fix_build_deprecated_attirbute_for_older_msvc_versions.patch | 58c6ea5de8 ci: auto-3way patches and detect changes (#23032) | 5 years ago |
merged_regexp_reserve_space_for_all_registers_in_interpreter.patch | 4a45196ff1 chore: cherry-pick 45b8c2bb07d2 from v8 (#23465) | 5 years ago |
objects_fix_memory_leak_in_prototypeusers_add.patch | 58c6ea5de8 ci: auto-3way patches and detect changes (#23032) | 5 years ago |
perf_improve_heap_snapshot_performance.patch | 88e53e5aaa perf: improve heap snapshot performance (#26227) | 4 years ago |
revert_cleanup_switch_offset_of_to_offsetof_where_possible.patch | eb2d2264d0 chore: bump chromium to 63be48daea281d4f8c834c2e707a7 (master) (#19923) | 5 years ago |
turn_some_dchecks_into_checks_in_schedule_methods.patch | c7778a8f2f chore: cherry-pick d4ddf645c3ca from chromium (#23747) | 4 years ago |
use_context_of_then_function_for_promiseresolvethenablejob.patch | 9f5924c5ea fix: backport V8 promise context fix (#23177) | 5 years ago |
workaround_an_undefined_symbol_error.patch | 58c6ea5de8 ci: auto-3way patches and detect changes (#23032) | 5 years ago |
$ 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.